Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA failing to start, NoClassDefFound com/atlassian/jira/health/checks/database/MySqlJdbcUrlHealthC

Paul_Hildebrandt March 12, 2019

I recently started having issues with JIRA redirecting all requests to '/secure/errors.jsp.' I'm not entirely certain what may have changed on the server that led to the issue because there are several things I use the server for. 

On investigation of the logs, I see that the below error and stack trace show up on startup. The strange thing is that my JIRA instance is configured to use postgres rather than mysql, so I'm not certain why it's trying to do a Mysql health check. 

I've tried deleting the '.bundled-plugins' and '.osgi-plugins' directories as recommended in other topics, but no luck. 

Can anyone point me in a direction of something to try next?

 

2019-03-12 22:34:59,687 JIRA-Bootstrap ERROR [c.a.jira.startup.LauncherContextListener] Unable to start JIRA.
java.lang.NoClassDefFoundError: com/atlassian/jira/health/checks/database/MySqlJdbcUrlHealthCheck
at com.atlassian.jira.health.HealthCheckRegistrar.registerHealthChecks(HealthCheckRegistrar.java:50)
at com.atlassian.jira.health.HealthChecks.runHealthChecks(HealthChecks.java:153)
at com.atlassian.jira.health.HealthChecks.runHealthChecks(HealthChecks.java:66)
at com.atlassian.jira.startup.BootstrapContainerLauncher.start(BootstrapContainerLauncher.java:32)
at com.atlassian.jira.startup.DefaultJiraLauncher.preDbLaunch(DefaultJiraLauncher.java:115)
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$start$0(DefaultJiraLauncher.java:101)
at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:31)
at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:100)
at com.atlassian.jira.startup.LauncherContextListener.initSlowStuff(LauncherContextListener.java:154)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: com.atlassian.jira.health.checks.database.MySqlJdbcUrlHealthCheck
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1309)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1137)
... 10 more

2 answers

1 accepted

1 vote
Answer accepted
Paul_Hildebrandt March 13, 2019

I ended up fixing it by backing up everything and then running the JIRA installer again as an upgrade. I had to reconfigure a few things, but now all is well. 

SMS
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 13, 2019

Paul,

Thank you for letting us know how you were able to resolve the issue.

Take care,

Shannon

0 votes
SMS
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 13, 2019

Hi Paul,

Can you also try to manually rebuild the Jira index as per the resolution in the article below?

Please let me know how that goes.

Regards,

Shannon

Paul_Hildebrandt March 13, 2019

Thanks for the advice. Unfortunately, no dice. After the index rebuild I still saw the same error in the log and JIRA is still redirecting to /secure/errors.jsp.

Suggest an answer

Log in or Sign up to answer