users@glassfish.java.net

Re: Booting GlassFish in TestNG

From: <glassfish_at_javadesktop.org>
Date: Fri, 12 Mar 2010 07:17:42 PST

This exception is thrown because both X and Hibernate JPA contain JAR of asm.
Go into the properties of your ejb project, there into Libraries there select restlib_gfv3ee6 click Edit button on the right select the asm.jar and click Remove.
Then click OK for both dialogs.

Redeploy you application and everything should work.

Ido.
[Message sent by forum member 'ido_ran' (ido.ran_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=391499