Hi,
I apologize for this as I am sure it is a frequent question but I have not
found an answer. I have a JPA servlet that was running fine under Tomcat 6 with
the persistence.xml under WEB-INF/classes/META-INF.
This file pointed to the db, specified the dialect, etc etc
When I moved the war fil
Hi,
I apologize for this as I am sure it is a frequent question but I have not
found an answer. I have a JPA servlet that was running fine under Tomcat 6 with
the persistence.xml under WEB-INF/classes/META-INF.
This file pointed to the db, specified the dialect, etc etc
When I moved the war fil
After much trial and error and false starts I discovered my problem.
It is important that the web-inf/lib contain NO hibernate jar files or
javassist.jar. The original error, which was, the MySQLDialect could not be
cast to Dialect was due to the mismatched hibernate jars. So be careful here.