Bamboo fails to start - java.lang.NoClassDefFoundError
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
症状
Bamboo fails to boot and the following error appears in the logs:
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.crowd.integration.atlassianuser.CrowdAuthenticator]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/codehaus/xfire/handler/Handler
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:186)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:795)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:713)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)
... 128 more原因
There are jar libraries copied from Crowd to Bamboo as per this document, but Bamboo doesn't need those files as the latest versions (4.x and after) already contain the needed libraries.
ソリューション
Make sure that you have the correct versions of Crowd .jar files in the BAMBOO_INSTALL/webapp/WEB-INF/lib directory. You can extract the data from the downloaded bamboo installer archive and compare the Crowd jar file versions with the ones located in the BAMBOO_INSTALL/webapp/WEB-INF/lib directory. In case there is a discrepancy, replace the incorrect jar files with the correct ones and restart your Bamboo server.
この内容はお役に立ちましたか?