I hope someone can help with a really frustrating problem that I have. I have created a class that retrieves some information from a mySQL database. However, I keep getting the "No persistence provider for Entity manager" error and I have no idea how to fix it. Persistence.xml looks as follows;