问题
I'm getting the following error using TomEE and JPA:
SEVERE: JAVA AGENT NOT INSTALLED.
The JPA Persistence Provider requested installation of a ClassFileTransformer which requires a JavaAgent.
See http://openejb.apache.org/3.0/javaagent.html
Is having a java agent required for openJPA to function properly? (Specifically is it needed for "openjpa.jdbc.SynchronizeMappings")
If so, how do I install it properly in eclipse?
回答1:
-javaagent:openejb-javaagent-3.0-beta-2.jar
Add that to your VM arguments in the Eclipse run configuration.
来源:https://stackoverflow.com/questions/10581714/using-tomee-and-open-jpa-i-get-the-following-error-severe-java-agent-not-inst