错误信息:
[INFO] ------------------------------------------------------------------------
[ERROR]Failedtoexecutegoalorg.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile(default-compile)onprojectqchat-common:Compilationfailure
[ERROR]Failureexecutingjavac,butcouldnotparsetheerror:
[ERROR]错误:读取C:\Users\root\.m2\repository\mysql\mysql-connector-java\5.1.24\mysql-connector-java-5.1.24.jar时出错;errorinopeningzipfile
[ERROR]1错误
[ERROR]->[Help1]
[ERROR]
[ERROR]Toseethefullstacktraceoftheerrors,re-runMavenwiththe-eswitch.
[ERROR]Re-runMavenusingthe-Xswitchtoenablefulldebuglogging.
[ERROR]
[ERROR]Formoreinformationabouttheerrorsandpossiblesolutions,pleasereadthefollowingarticles:
[ERROR][Help1]/confluence/display/MAVEN/MojoFailureException解决:将错误jar包删除,然后重新install即可
如果觉得《maven install 读取jar包时出错;error in opening zip file》对你有帮助,请点赞、收藏,并留下你的观点哦!