users@glassfish.java.net

Re: Glassfish 2.1 and mysql connector issue

From: <glassfish_at_javadesktop.org>
Date: Wed, 14 Apr 2010 23:00:47 PDT

Are you using the right mysql jdbc jar? Or did you try to recreate the jar by editing some of the classes? java.lang,IncompatibleClassChangeError is thrown when something about a class is different from the bytecode that is accessing it. The jdbc jar can be put in any of the following locations :
- glassfish/lib
- glassfish/domains/domain1/lib
- glassfish/domains/domain1/lib/ext
[Message sent by forum member 'sm157516']

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