Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
davidsos
Post subject: ME 6.5 Spring 2.5 Hibernate 3.2 runtime problem  PostPosted: Jul 18, 2008 - 06:38 AM
Registered Member
Registered Member


Joined: Jul 08, 2006
Posts: 16

I'm using ME 6.5 with Spring 2.5 and Hibernate 3.2 and have a runtime problem when I start the embedded Tomcat Server. I've tried this with JPA as well. I started in a new clean workspace.

SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: ME 6.5 Spring 2.5 Hibernate 3.2 runtime problem  PostPosted: Jul 18, 2008 - 09:00 AM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5657

davidsos,
Can you please make sure this is not the issue that your facing:-
http://forum.hibernate.org/viewtopic.php?p=2362609&sid=47476901ea7a640b87192c54f6c6afab

You can remove your deployment and then make sure all the libs are removed before redeploying the project.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
davidsos
Post subject: Re: RE: ME 6.5 Spring 2.5 Hibernate 3.2 runtime problem  PostPosted: Jul 18, 2008 - 03:00 PM
Registered Member
Registered Member


Joined: Jul 08, 2006
Posts: 16

support-nipun wrote:
davidsos,
Can you please make sure this is not the issue that your facing:-
http://forum.hibernate.org/viewtopic.php?p=2362609&sid=47476901ea7a640b87192c54f6c6afab

You can remove your deployment and then make sure all the libs are removed before redeploying the project.

At last, I started with a fresh new workspace and am using the embedded ME tomcat server. Please explain how this applies as I'm not using a regularly deployed tomcat server.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Re: RE: ME 6.5 Spring 2.5 Hibernate 3.2 runtime problem  PostPosted: Jul 21, 2008 - 11:05 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5657

Quote:

Please explain how this applies as I'm not using a regularly deployed tomcat server.

This applies where? I didn't get the question. Could you rephrase it for me please.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
davidsos
Post subject: Re: RE: Re: RE: ME 6.5 Spring 2.5 Hibernate 3.2 runtime prob  PostPosted: Jul 22, 2008 - 03:10 AM
Registered Member
Registered Member


Joined: Jul 08, 2006
Posts: 16

support-nipun wrote:
Quote:

Please explain how this applies as I'm not using a regularly deployed tomcat server.

This applies where? I didn't get the question. Could you rephrase it for me please.

What exactly would need to be deleted or where is the library folder to clean out when using the Tomcat Server embedded in ME?
 
 View user's profile Send private message  
Reply with quote Back to top
davidsos
Post subject:   PostPosted: Jul 23, 2008 - 02:35 AM
Registered Member
Registered Member


Joined: Jul 08, 2006
Posts: 16

I figured out where the embedded server is located. Each workspace gets it's own copy of the server as found below. Each application has a lib directory under its WEB-INF directory as is customary. I cleaned up all the jar files under all the lib directories and am now OK.
C:\workspace\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\........
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject:   PostPosted: Jul 23, 2008 - 08:29 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5657

Glad you got it to work.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
AlanKruegerVSI
Post subject:   PostPosted: Sep 22, 2008 - 04:55 AM
Registered Member
Registered Member


Joined: May 31, 2007
Posts: 5

Unfortunately, I'm seeing this with a fresh Web project created with Spring 2.0, JPA Hibernate 3.2, and JSF. I'm seeing two copies of the org.objectweb.asm.ClassVisitor class:

- one in asm.jar in the Hibernate 3.2 Core libraries
- one in asm-2.2.3.jar in the Spring 2.0 AOP libraries

Is there a way to resolve this apparent conflict between these two MyEclipse library bundles?
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject:   PostPosted: Sep 22, 2008 - 05:46 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5657

AlanKruegerVSI,
Im not aware of any workaroud other than the one where one of the conflicting libraries have to be manually removed.

You should cross post your query on the Hibernate/Spring forums as well.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits