Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [virgo-dev] hi, I want to know who used the spring-amqp in Virgo?

It would be better to ask this question on the Virgo forum as that's where users hang out. This mailing list is for Virgo development discussion.

Meanwhile, check whether the org.springframework.amqp.rabbit bundle imports the package org.springframework.jmx.support. Alternatively, is either of these bundles a fragment of the other? You can use the shell or web admin console to investigate the wiring of the package org.springframework.jmx.support and whether fragments are involved - it's easier than trying to read the bundle manifests. Please mention your findings in your forum post to increase the chances of someone being able to help.

Regards,
Glyn


From: "姜平(平台架构部)" <jiangping@xxxxxxxxxxxxxxxxx>
To: virgo-dev@xxxxxxxxxxx
Sent: Wednesday, 19 September, 2012 3:54:37 AM
Subject: [virgo-dev] hi,I want to know who used the spring-amqp in Virgo?

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 ?


_______________________________________________
virgo-dev mailing list
virgo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/virgo-dev


Back to the top