Get your CodeRanch badge!*
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
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: 3775

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
 
Similar Threads
Ajax 4 JSF
sometime i am getting java.lang.reflect.InvocationTargetException
Problem while uploading an image using UploadBean
@MessageDriven. Is mappedName mandatory?
jboss 3.0- org/jboss/logging/Logger class where is it