Bamboo throws 'java.lang.NoClassDefFoundError: com/atlassian/applinks/core/util/RequestUtil' when viewing application links
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
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
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.