记一次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包冲突导致的
删除框里的。问题解决