Thursday, November 13, 2008

New Hiberinate Library Update on Glassfish

The Glassfish server has an update tool which could install updated application library. However, When I install the new hibernate 3.4 using the tool, the server fails to load up the application with the following error:
java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.(Z)V

After some investigation, it placed a asm-3.1.jar in glassfish\lib which duplicated the original asm.jar. It encounters some class loading problem. It works fine after deleting the original asm.jar.

No comments: