So we have upgraded Jira from 8.5.7 to 8.20.3 and also upgraded the plugin pom file to match the jira version but the problem is that once we restart Jira the restart fails because of this one plugin that we are using... there is no issue when we install the plugin when Jira is running but once we restart Jira it fails because the plugin doesn't work....
Jira Log
2022-01-27 11:21:53,739+0000 ThreadPoolAsyncTaskExecutor::Thread 6 ERROR [o.e.g.b.e.internal.support.ExtenderConfiguration] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.plugins.rest.atlassian-rest-module, config=osgibundle:/META-INF/spring/.xml))2022-01-27 11:21:53,739+0000 ThreadPoolAsyncTaskExecutor::Thread 6 ERROR [o.e.g.b.e.internal.support.ExtenderConfiguration] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.plugins.rest.atlassian-rest-module, config=osgibundle:/META-INF/spring/.xml))org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restUriBuilder' defined in URL [bundle://180.0:0/META-INF/spring/atlassian-plugin-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.plugins.rest.module.util.RestUrlBuilderImpl]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.sun.jersey.spi.service.ServiceFinder at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1300) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:554)
2022-01-27 11:25:58,934+0000 Spring DM Context Creation Timer ERROR [o.e.g.b.e.internal.support.ExtenderConfiguration] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.jira.admin-project-config-plugin, config=osgibundle:/META-INF/spring/.xml))2022-01-27 11:25:58,934+0000 Spring DM Context Creation Timer ERROR [o.e.g.b.e.internal.support.ExtenderConfiguration] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.jira.admin-project-config-plugin, config=osgibundle:/META-INF/spring/.xml))org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.jira.admin-project-config-plugin' has timed out waiting for (&(objectClass=com.atlassian.applinks.api.ApplicationLinkService)(objectClass=com.atlassian.applinks.api.ApplicationLinkService)) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505)