It's not a secret anymore!
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

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

Joined: Mar 24, 2008
Posts: 3902

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

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

[How to ask questions] [Twitter]
subject: java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V
It's not a secret anymore!