Using TomEE and open JPA, i get the following error: SEVERE: JAVA AGENT NOT INSTALLED

末鹿安然 提交于 2021-02-19 07:45:08

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!