java - Maven启动时报错:org.apache.maven.plugins:maven-compiler-plugin:2.3.2
天蓬老师
天蓬老师 2017-04-18 10:34:15
[Java讨论组]

Eclipse导入的Maven项目在install时报错,如下:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project jpress-commons: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR] 错误: 读取F:\Java\m2\repository\org\jsoup\jsoup\1.9.2\jsoup-1.9.2.jar时出错; error in opening zip file
[ERROR] 1 个错误
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :jpress-commons

如何解决?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

全部回复(3)
怪我咯

该问题目前已解决,解决方案为本地仓库文件夹权限问题,将文件夹修改为Everyone完全控制,将仓库的包删除重新下载即可解决问题。

天蓬老师

提示是jsoup的jar包出问题,把这个包所在的文件夹删除,重新install试试。

大家讲道理

你们问问题的时候可以看一下错误 再提问好不好

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号