Bamboo throws 'java.lang.NoClassDefFoundError: com/atlassian/applinks/core/util/RequestUtil' when viewing application links
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
Problem
Unable to view the incoming/outgoing authentication for the configured application links.
The following appears in the browser and atlassian-bamboo.log
1
2
3
4
5
6
7
2016-07-28 17:50:12,302 ERROR [http-apr-8085-exec-29] [FiveOhOh] 500 Exception was thrown.
javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:314)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
...
Caused by: java.lang.NoClassDefFoundError: com/atlassian/applinks/core/util/RequestUtil
at com.atlassian.applinks.oauth.auth.twolo.AbstractTwoLeggedOAuthAuthenticatorProviderPluginModule.getConfigUrl(AbstractTwoLeggedOAuthAuthenticatorProviderPluginModule.java:39)
Cause
Bamboo cache is corrupted.
Resolution
Delete the caches directory to recreate the cache.
Shutdown Bamboo
Manually delete the <bamboo_home>/caches directory.
Start Bamboo
Check the application link.
Was this helpful?