开发者社区> 问答> 正文

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

@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

 

展开
收起
爱吃鱼的程序员 2020-06-20 16:43:49 473 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    下载的jar包有问题,删除重新下载

    2020-06-20 16:44:07
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载