I try to use
the spring-amqp in Virgo. I had installed all the jar for spring amqp. But when
I using @Configuration , I met this error.
Caused
by: org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException:
org.springframework.jmx.support.MetricType in KernelBundleClassLoader:
[bundle=org.springframewor
k.amqp.rabbit_1.1.2.RELEASE]
at
org.eclipse.virgo.kernel.userregion.internal.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:139)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95)
... 29 common frames omitted
Caused
by: java.lang.ClassNotFoundException:
org.springframework.jmx.support.MetricType
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at
org.eclipse.virgo.kernel.userregion.internal.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:135)
... 33 common frames omitted
----
I check the bundle list in my virgo server.
I can find the org.springframework.jmx.support.MetricType in spring-context (3.0.5) ,
I check the bundle status is right, but how to fix the error ?