JIRA Crashes or is unable to start properly due to "OSGi plugins cannot be deployed via the classpath"

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

Symptoms

The following or similar stacktrace appears in the atlassian-jira.log:

1 2 3 4 5 6 7 8 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.

Cause

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.

Resolution

  • Shutdown 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

  • Restart JIRA

Updated on April 11, 2025

Still need help?

The Atlassian Community is here for you.