Java EE and JPA under Glassfish, NoClassDefFound com/mysql/jdbc/ResultSetMetaData
问题 I have a problem when I acces my MySql Database from an EJB. After deploying my EAR to the Glassfish server, and calling the method that use the entity class I get an exception like this: java.lang.NoClassDefFoundError: com/mysql/jdbc/ResultSetMetaData I am using a local MySql Database, the connection to these still works. To acces the tables of these Databese I am using entity classes generated by Netbeans. This classes are situated in external Library (OthelloLibrarie). Here you can also