您的位置:首页 > 其它

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

2012-02-25 15:36 796 查看
这几天把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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐