Roller源码,Install的时候出现Error occurred during initialization of VM错误时的解决方法

来源:互联网 发布:php自学书籍 编辑:程序博客网 时间:2024/05/21 06:30

这几天把Roller源码下载下来学习了下,在Eclipse环境下使用Maven插件执行Install目标的时候。出现如下错误:

 Error occurred during initialization of VM agent library failed to init: instrument Error opening zip file or JAR manifest missing : C:\Documents

解决的方法是修改如下文件:

 planet-business/pom.xml weblogger-business/pom.xml weblogger-web/pom.xml weblogger-webapp/pom.xml
将其中的:

<argLine>-javaagent:${user.home}/.m2/repository/org/apache/openjpa/openjpa/2.0.1/openjpa-2.0.1.jar</argLine>
修改为:

<argLine>-javaagent:"${user.home}/.m2/repository/org/apache/openjpa/openjpa/2.0.1/openjpa-2.0.1.jar"</argLine>

参考:

http://mail-archives.apache.org/mod_mbox/roller-user/201106.mbox/%3C271500.10134.qm@web39807.mail.mud.yahoo.com%3E

原创粉丝点击