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: " net.opentemperament.entities.Family".

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Niklas Saers, 1 year ago
This configuration disallows runtime optimization, but the following listed types were not enhanced at build time or at class load time with a javaagent: " net.opentemperament.entities.Family".
via Spring JIRA by Niklas Saers, 1 year ago
This configuration disallows runtime optimization, but the following listed types were not enhanced at build time or at class load time with a javaagent: " net.opentemperament.entities.Family".
via Stack Overflow by Greg
, 2 years ago
This configuration disallows runtime optimization, but the following listed types were not enhanced at build time or at class load time with a javaagent: " de.hol.persistable.entities.Person".
via Stack Overflow by Koray Tugay
, 5 months ago
This configuration disallows runtime optimization, but the following listed types were not enhanced at build time or at class load time with a javaagent: " biz.tugay.jpaExamples.model.Person".
via solveseek.com by Unknown author, 2 years ago
This configuration disallows runtime optimization, but the following listed types were not enhanced at build time or at class load time with a javaagent: " de.hol.persistable.entities.Person".
via Stack Overflow by gsapountzis
, 2 years ago
This configuration disallows runtime optimization, but the following listed types were not enhanced at build time or at class load time with a javaagent: " <list-of-missed-unenhanced-classes>"
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: " net.opentemperament.entities.Family".
at org.apache.openjpa.enhance.ManagedClassSubclasser.prepareUnenhancedClasses(ManagedClassSubclasser.java:116)
at org.apache.openjpa.kernel.AbstractBrokerFactory.loadPersistentTypes(AbstractBrokerFactory.java:304)
at org.apache.openjpa.kernel.AbstractBrokerFactory.initializeBroker(AbstractBrokerFactory.java:228)
at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:202)
at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:213)
at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
at org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:400)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
4 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.