Maven启动时报错:org.apache.maven.plugins:maven-compiler-plugin:2.3.2

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

如何解决?

慕仙森
浏览 2156回答 3
3回答

森林海

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

繁星淼淼

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

PIPIONE

你们问问题的时候可以看一下错误 再提问好不好
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java