BigChestnum 2016-10-10 02:56 采纳率: 0%
浏览 7486
已结题

使用IDEA和maven做注册时候遇到如下问题:

"E:\IntelliJ IDEA 2016.2.1\jdk1.8.0_91\bin\java" "-Dmaven.home=E:\IntelliJ IDEA 2016.2.1\plugins\maven\lib\maven3" "-Dclassworlds.conf=E:\IntelliJ IDEA 2016.2.1\plugins\maven\lib\maven3\bin\m2.conf" -Didea.launcher.port=7533 "-Didea.launcher.bin.path=E:\IntelliJ IDEA 2016.2.1\bin" -Dfile.encoding=UTF-8 -classpath "E:\IntelliJ IDEA 2016.2.1\plugins\maven\lib\maven3\boot\plexus-classworlds-2.4.jar;E:\IntelliJ IDEA 2016.2.1\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher -Didea.version=2016.2.1 tomcat:run
[INFO] Scanning for projects...
[INFO]

[INFO] ------------------------------------------------------------------------
[INFO] Building zhuce Maven Webapp 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> tomcat-maven-plugin:1.1:run (default-cli) @ zhuce >>>
[WARNING] The POM for com.google.guava:guava:jar:15.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for javax.servlet:javax.servlet-api:jar:3.1.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.glassfish.jersey.containers:jersey-container-grizzly2-servlet:jar:2.13 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.13 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for commons-io:commons-io:jar:2.4 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.glassfish.jersey.core:jersey-client:jar:2.13 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.apache.bval:bval-jsr303:jar:0.5 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for log4j:log4j:jar:1.2.14 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.apache.httpcomponents:httpclient:jar:4.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.tustcs.java:base:jar:1.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.json:json:jar:20140107 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ zhuce ---
[debug] execute contextualize
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ zhuce ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 2 source files to F:\zhuce\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:
错误: 读取C:\Users\ZILI.m2\repository\com\google\guava\guava\15.0\guava-15.0.jar时出错; error in opening zip file
错误: 读取C:\Users\ZILI.m2\repository\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar时出错; error in opening zip file
错误: 读取C:\Users\ZILI.m2\repository\org\glassfish\jersey\containers\jersey-container-grizzly2-servlet\2.13\jersey-container-grizzly2-servlet-2.13.jar时出错; error in opening zip file
错误: 读取C:\Users\ZILI.m2\repository\org\glassfish\jersey\containers\jersey-container-servlet-core\2.13\jersey-container-servlet-core-2.13.jar时出错; error in opening zip file
错误: 读取C:\Users\ZILI.m2\repository\commons-io\commons-io\2.4\commons-io-2.4.jar时出错; error in opening zip file
错误: 读取C:\Users\ZILI.m2\repository\org\glassfish\jersey\core\jersey-client\2.13\jersey-client-2.13.jar时出错; error in opening zip file
错误: 读取C:\Users\ZILI.m2\repository\org\apache\bval\bval-jsr303\0.5\bval-jsr303-0.5.jar时出错; error in opening zip file
错误: 读取C:\Users\ZILI.m2\repository\log4j\log4j\1.2.14\log4j-1.2.14.jar时出错; error in opening zip file
错误: 读取C:\Users\ZILI.m2\repository\org\apache\httpcomponents\httpclient\4.1\httpclient-4.1.jar时出错; error in opening zip file
错误: 读取C:\Users\ZILI.m2\repository\com\tustcs\java\base\1.0\base-1.0.jar时出错; error in opening zip file
错误: 读取C:\Users\ZILI.m2\repository\org\json\json\20140107\json-20140107.jar时出错; error in opening zip file
11 个错误

[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.436s
[INFO] Finished at: Mon Oct 10 10:44:37 CST 2016
[INFO] Final Memory: 10M/77M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project zhuce: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR] 错误: 读取C:\Users\ZILI.m2\repository\com\google\guava\guava\15.0\guava-15.0.jar时出错; error in opening zip file
[ERROR] 错误: 读取C:\Users\ZILI.m2\repository\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar时出错; error in opening zip file
[ERROR] 错误: 读取C:\Users\ZILI.m2\repository\org\glassfish\jersey\containers\jersey-container-grizzly2-servlet\2.13\jersey-container-grizzly2-servlet-2.13.jar时出错; error in opening zip file
[ERROR] 错误: 读取C:\Users\ZILI.m2\repository\org\glassfish\jersey\containers\jersey-container-servlet-core\2.13\jersey-container-servlet-core-2.13.jar时出错; error in opening zip file
[ERROR] 错误: 读取C:\Users\ZILI.m2\repository\commons-io\commons-io\2.4\commons-io-2.4.jar时出错; error in opening zip file
[ERROR] 错误: 读取C:\Users\ZILI.m2\repository\org\glassfish\jersey\core\jersey-client\2.13\jersey-client-2.13.jar时出错; error in opening zip file
[ERROR] 错误: 读取C:\Users\ZILI.m2\repository\org\apache\bval\bval-jsr303\0.5\bval-jsr303-0.5.jar时出错; error in opening zip file
[ERROR] 错误: 读取C:\Users\ZILI.m2\repository\log4j\log4j\1.2.14\log4j-1.2.14.jar时出错; error in opening zip file
[ERROR] 错误: 读取C:\Users\ZILI.m2\repository\org\apache\httpcomponents\httpclient\4.1\httpclient-4.1.jar时出错; error in opening zip file
[ERROR] 错误: 读取C:\Users\ZILI.m2\repository\com\tustcs\java\base\1.0\base-1.0.jar时出错; error in opening zip file
[ERROR] 错误: 读取C:\Users\ZILI.m2\repository\org\json\json\20140107\json-20140107.jar时出错; error in opening zip file
[ERROR] 11 个错误
[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

Process finished with exit code 1


  • 写回答

1条回答 默认 最新

  • dabocaiqq 2016-11-04 20:48
    关注
    评论

报告相同问题?

悬赏问题

  • ¥30 软件自定义无线电该怎样使用
  • ¥15 R语言mediation包做中介分析,直接效应和间接效应都很小,为什么?
  • ¥15 Jenkins+k8s部署slave节点offline
  • ¥15 微信小游戏反编译后,出现找不到分包的情况
  • ¥15 如何实现从tello无人机上获取实时传输的视频流,然后将获取的视频通过yolov5进行检测
  • ¥15 WPF使用Canvas绘制矢量图问题
  • ¥15 用三极管设计一个单管共射放大电路
  • ¥15 孟德尔随机化r语言运行问题
  • ¥15 pyinstaller编译的时候出现No module named 'imp'
  • ¥15 nirs_kit中打码怎么看(打码文件是csv格式)