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

查看:440
本文介绍了java - 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

如何解决?

解决方案

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

这篇关于java - Maven启动时报错:org.apache.maven.plugins:maven-compiler-plugin:2.3.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆