Fisheye or Crucible fails to start with NoClassDefFoundError

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問


 

要約 

Fisheye or Crucible fails to start up after the restart with NoClassDefFoundError like in the examples:

2024-08-17 15:52:51,448 ERROR [main ] fisheye FishEyeWebApplicationContext-doStart - The Web context could not be started
java.lang.NoClassDefFoundError: org/springframework/core/env/EnvironmentCapable
2024-08-17 15:29:49,301 ERROR [main ] fisheye FishEyeWebApplicationContext-doStart - The Web context could not be started
java.lang.NoClassDefFoundError: org/springframework/core/env/EnvironmentCapable


環境

Any Fisheye or Crucible version.

診断

If you see NoClassDefFoundError it means Fisheye or Crucible during the startup procedure can't find the required class in the application classpath.

The jars with the libraries of required classes are stored under $FISHEYE_HOME/lib 

  1. Identify the name of the required library. From the exception "org/springframework/core" 
  2. From the fresh Fisheye/Crucible installation we can see that the only one spring-core-4.0.9.RELEASE.jar is matching the name.
  3. Confirm if the JAR is present in the problematic instance $FISHEYE_HOME/lib  

原因

If any of the JAR files under $FISHEYE_HOME/lib  has been archived or deleted, the instnace will not start because it is missing a critical library.

ソリューション

Replace the missing JAR file from a healthy instance (or temporary test instance).

最終更新日 2024 年 8 月 19 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.