Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » how to trouble shoot class not found issue
how to trouble shoot class not found issue [message #659147] Fri, 11 March 2011 09:52 Go to next message
Dan Tran is currently offline Dan TranFriend
Messages: 24
Registered: February 2011
Junior Member
Hi I am trying to create a simple bundle to invoke spring-jms's JmxTemplate sender. I have successfull deployed all necessary bundle for ActiveMQ.

However, when deploy my 'jmsclient' bundle, it runs into this errorby: org.eclipse.virgo.kernel.osgi.framework.ExtendedNoClassDefFo undError: org/springframework/transaction/support/ResourceHolderSuppor t in KernelBundleClassLoader: [bundle=org.springframework.jms_3.0.5.RELEASE] in KernelBundleClassLoader: [bundle=org.springframework.jms_3.0.5.RELEASE]
at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelB undleClassLoader.loadClass(KernelBundleClassLoader.java:141)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getDeclaredMethods(Class.java:1791)
at org.springframework.beans.factory.annotation.InitDestroyAnno tationBeanPostProcessor.buildLifecycleMetadata(InitDestroyAn notationBeanPostProcessor.java:194)
at org.springframework.beans.factory.annotation.InitDestroyAnno tationBeanPostProcessor.findLifecycleMetadata(InitDestroyAnn otationBeanPostProcessor.java:176)
at org.springframework.beans.factory.annotation.InitDestroyAnno tationBeanPostProcessor.postProcessMergedBeanDefinition(Init DestroyAnnotationBeanPostProcessor.java:122)


I do have spring-tx deployed and import to my bundle, sprint-tx does export the org/springframework/transaction/support package

I also check spring-jms's manifest file, it also import the org/springframework/transaction/support package.

Big thanks ahead

-D

what do i miss?
Re: how to trouble shoot class not found issue [message #659150 is a reply to message #659147] Fri, 11 March 2011 09:57 Go to previous messageGo to next message
Violeta Georgieva is currently offline Violeta GeorgievaFriend
Messages: 244
Registered: October 2010
Senior Member
Hi,

May be this can help

http://hsiliev.blogspot.com/2010/12/troubleshooting-class-lo ading-issues-in.html

Regards
Violeta
Re: how to trouble shoot class not found issue [message #659304 is a reply to message #659147] Sat, 12 March 2011 00:36 Go to previous message
Dan Tran is currently offline Dan TranFriend
Messages: 24
Registered: February 2011
Junior Member
Violeta,

Thanks for the tips ( i read thru the docs a few time, but still missed it )

Any way, the tools do see any issue with my current deployment.

Still searching....

Thanks

-D
Previous Topic:Tomcat logs
Next Topic:Reference bean in application context from servlet context
Goto Forum:
  


Current Time: Sat Dec 20 16:31:28 GMT 2014

Powered by FUDForum. Page generated in 0.08736 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software