posted 13 years ago
Hello,
With Maven2, jpa2, hibernate 3.6.5.Final, Mysql 5 and Glassfish 3.1, I am trying to deploy a WAR file, but it comes up with the following error:
Here is my src/WEB-INF/persistence.xml file:
my src/main/webapp/WEB-INF/web.xml file:
I didn't create any datasource in glassfish. And I also don't understand why the deployment trying to find Derby. I actually have define MySQL in persistence.xml file.
Do I need to create datasource to point to mysql/guestbook? then how to use this newly created datasource in my persistence.xml file?
Very appreciate for any suggestion.
Thanks
Sam