That was it, I hadn't created the jpamysql-ds.xml file. Then it gave me a different error as I hadn't put the mysql connector in the right folder (lib). Thanks for the help.
Reply to this message by going to Community
Start a new discussion in Beginner's Corner at Community