This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) 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

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: 3900

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]
I agree. Here's the link:
subject: java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V
It's not a secret anymore!