aspose file tools*
The moose likes Object Relational Mapping and the fly likes java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V" Watch "java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V" New topic
Author

java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V

Ashish Malik
Ranch Hand

Joined: Jul 11, 2010
Posts: 50
I am getting this error when deploying my application to glassfish cluster. Full stack trace is appended below.
I checked the versioning problem discussed in some other forum. My application uses asm-1.5.3 I checked that no glassfish lib contains versions not recommended.

When i deploy this code on some other machine it works fine, where could i find dependencies in environments of two machines? I checked maven repositories, glassfish libraries, jvm versions.

Please help

Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3838

When i deploy this code on some other machine it works fine, ...

What are the differences/similarities among the two (server environment, libraries etc...)?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V