| Author |
Message |
|
|
Post subject: ME 6.5 Spring 2.5 Hibernate 3.2 runtime problem
Posted: Jul 18, 2008 - 06:38 AM
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: ME 6.5 Spring 2.5 Hibernate 3.2 runtime problem
Posted: Jul 18, 2008 - 09:00 AM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5657
|
|
|
|
|
 |
|
|
Post subject: Re: RE: ME 6.5 Spring 2.5 Hibernate 3.2 runtime problem
Posted: Jul 18, 2008 - 03:00 PM
|
|
Registered Member


Joined: Jul 08, 2006
Posts: 16
|
|
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. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: ME 6.5 Spring 2.5 Hibernate 3.2 runtime problem
Posted: Jul 21, 2008 - 11:05 PM
|
|
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
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: Re: RE: ME 6.5 Spring 2.5 Hibernate 3.2 runtime prob
Posted: Jul 22, 2008 - 03:10 AM
|
|
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? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 23, 2008 - 02:35 AM
|
|
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\........ |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 23, 2008 - 08:29 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5657
|
|
| Glad you got it to work. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 22, 2008 - 04:55 AM
|
|
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? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 22, 2008 - 05:46 PM
|
|
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
|
| |
|
|
|
 |
|
|