JIRA Crashes or is unable to start properly due to "OSGi plugins cannot be deployed via the classpath"
プラットフォームについて: 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 は除く
症状
The following or similar stacktrace appears in the atlassian-jira.log:
2014-04-24 12:14:22,543 localhost-startStop-1 WARN [atlassian.jira.startup.JiraStartupLogger]
********************************************************************************************************************************************************************************************************
The following plugins failed to load:
JIRA Gantt-Chart Plugin: OSGi plugins cannot be deployed via the classpath, which is usually WEB-INF/lib.
URL is: jar:file:/C:/Program%20Files/Atlassian/JIRA/lib/gantt-3.1.1-JIRA6.jar!/atlassian-plugin.xml
jira-timesheet-plugin: org/springframework/context/ApplicationContextAware
********************************************************************************************************************************************************************************************************Note that the error above may refer to any other plugin JAR, depending on the specific case. In this example the plugin jar is for the Gantt-Chart Plugin.
原因
A JIRA plugin jar (which is not a version 1 plugin) file has been installed/copied into the following path $JIRA-installation-directory/lib or $JIRA-installation-directory/atlassian-jira/WEB-INF/lib, instead of the $JIRA-home-directory/plugins/installed-plugins/ directory.
ソリューション
Jira をシャットダウンします。
Simply remove the installed plugin from $JIRA-installation-directory/lib or $JIRA-installation-directory/atlassian-jira/WEB-INF/lib. You may install the plugin directly via the UPM directly or by copying it into the $JIRA-home-directory/plugins/installed-plugins/ directory
Jira を再起動します。
この内容はお役に立ちましたか?