创建项目勾选所有权系子系统时编译报错

JMYang 发布于 2014/07/08 10:25
阅读 737
收藏 0

@Koala_考拉 你好,想跟你请教个问题:编译时

[INFO] koala ............................................. SUCCESS [0.503s]
[INFO] koala-conf ........................................ SUCCESS [16.559s]
[INFO] koala-core ........................................ SUCCESS [3.502s]
[INFO] koala-application ................................. SUCCESS [4.493s]
[INFO] koala-infra ....................................... SUCCESS [0.530s]
[INFO] koala-applicationImpl ............................. SUCCESS [0.680s]
[INFO] koala-web ......................................... FAILURE [27.550s]

就最后一个失败  百度了一下错误信息 说是把installed jres 指向自己的jdk 这个我已经改过了  不知道为什么   我不勾选子系统的时候就可以编译通过   请帮忙看一下是啥原因。以下是error信息

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project koala-web: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR] 错误: 读取D:\MavenRepository\org\springframework\security\spring-security-acl\3.2.0.RELEASE\spring-security-acl-3.2.0.RELEASE.jar时出错; invalid LOC header (bad signature)
[ERROR] 错误: 读取D:\MavenRepository\org\jasig\cas\client\cas-client-core\3.2.1\cas-client-core-3.2.1.jar时出错; invalid LOC header (bad signature)
[ERROR] 错误: 读取D:\MavenRepository\com\octo\captcha\jcaptcha\2.0-alpha-1\jcaptcha-2.0-alpha-1.jar时出错; invalid LOC header (bad signature)
[ERROR] 错误: 读取D:\MavenRepository\com\jhlabs\filters\2.0.235-1\filters-2.0.235-1.jar时出错; invalid CEN header (bad signature)
[ERROR] 错误: 读取D:\MavenRepository\net\sf\ehcache\ehcache-core\2.0.1\ehcache-core-2.0.1.jar时出错; invalid LOC header (bad signature)
[ERROR] 错误: 读取D:\MavenRepository\commons-dbutils\commons-dbutils\1.5\commons-dbutils-1.5.jar时出错; invalid LOC header (bad signature)
[ERROR] 错误: 读取D:\MavenRepository\org\codehaus\groovy\groovy-all\2.2.2\groovy-all-2.2.2.jar时出错; invalid LOC header (bad signature)
[ERROR] 错误: 读取D:\MavenRepository\cglib\cglib\2.2\cglib-2.2.jar时出错; invalid CEN header (bad signature)
[ERROR] 8 个错误
[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 :koala-web

 

加载中
0
Koala_考拉
Koala_考拉
下载的jar包有问题,删除重新下载
返回顶部
顶部