2021-03-29

记一次jenkins编译失败的case

[INFO] 1 error

[INFO] -------------------------------------------------------------

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] jd-isobk-knowledge ................................ SUCCESS [7.874s]

[INFO] jd-isobk-knowledge-common ......................... SUCCESS [16.624s]

[INFO] jd-isobk-knowledge-sdk ............................ SUCCESS [3.855s]

[INFO] jd-isobk-knowledge-domain ......................... SUCCESS [12.315s]

[INFO] jd-isobk-knowledge-dao ............................ SUCCESS [1.712s]

[INFO] jd-isobk-knowledge-rpc ............................ SUCCESS [9.027s]

[INFO] jd-isobk-knowledge-jimi3 .......................... SUCCESS [0.402s]

[INFO] jd-isobk-knowledge-service ........................ SUCCESS [11.623s]

[INFO] jd-isobk-knowledge-worker ......................... SUCCESS [0.714s]

[INFO] jd-isobk-knowledge-boot ........................... SUCCESS [12.308s]

[INFO] jd-isobk-knowledge-boot-operator .................. FAILURE [0.135s]

[INFO] jd-isobk-knowledge-boot-answer .................... SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1:17.305s

[INFO] Finished at: Mon Mar 29 15:40:44 CST 2021

[INFO] Final Memory: 118M/6804M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.4:compile (default-compile) on project jd-isobk-knowledge-boot-operator: Compilation failure

[ERROR] Failure executing javac, but could not parse the error:

[ERROR] javac: invalid target release: 8

[ERROR] Usage: javac <options> <source files>

[ERROR] use -help for a list of possible options

[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 :jd-isobk-knowledge-boot-operator

script returned exit code 1

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.4:compile (default-compile) on project jd-isobk-knowledge-boot-operator: Compilation failure上边加粗部分

最终发现是jar包冲突导致的

删除框里的。问题解决

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容