Bamboo Java Specs failed when using RSS

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Problem

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:

1 2 3 4 5 6 7 8 [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

Diagnosis

  • 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

Cause

Old JDK 8 version have problem running Bamboo Java Specs.

Solution

Resolution

Upgrade JDK 8 to the latest minor update.

Updated on March 28, 2025

Still need help?

The Atlassian Community is here for you.