I am just getting started with JPA and running a small test to see if I can get everything configured correctly (and I can't).
The error I am getting when I try to submit a entity to the database is:
<openjpa-2.4.0-r422266:1674604 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: This configuration disallows runtime optimization, but the following listed types were not enhanced at build time or at class load time with a javaagent: "
I am trying to build this in Intellij Idea. My persistence.xml is located at WEB-INF\classes\META-INF\persistence.xml and looks like: