SyntaxFix
Write A Post
Hire A Developer
Questions
If you have any NamedQueries in your entity classes, then check the stack trace for compilation errors. A malformed query which cannot be compiled can cause failure to load the persistence context.