Bamboo Java Specs failed when using RSS
問題
Java Specs works fine when publish manually from command line.
If it is pushed to Repository, Bamboo fail to build the Java Specs with the following exception:
[ERROR] Failed to execute goal com.atlassian.bamboo:bamboo-specs-runner:6.4.0:run (default-cli) on project bamboo-specs-generator: Execution default-cli of goal com.atlassian.bamboo:bamboo-specs-runner:6.4.0:run failed: java.lang.reflect.InvocationTargetException: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.atlassian.bamboo.specs.util.IsolatedYamlizator$$Lambda$11/1759889326 -> [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/PluginExecutionException
Unable to scan repository testspec (12345678) for Bamboo Specs
診断
- Bamboo is not configured to use Docker for Bamboo Specs
- JDK 8 installed in the machine hosting Bamboo server is not the latest minor update
原因
Old JDK 8 version have problem running Bamboo Java Specs.
ソリューション
Upgrade JDK 8 to the latest minor update.
最終更新日 2019 年 5 月 9 日
Powered by Confluence and Scroll Viewport.