It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

plugins failed to load during JIRA startup

I add a gadget  by Atlassian SDK, then run at local , but fail. here is the log

___ FAILED PLUGIN REPORT _____________________

53 plugins failed to load during JIRA startup.

'com.atlassian.jira.gadgets' - 'Atlassian JIRA - Plugins - Gadgets Plugin' failed to load.
The plugin has been disabled. A likely cause is that it timed out during initialisation

It has the following missing service dependencies :
&outboundWhitelist of type (&(objectClass=com.atlassian.plugins.whitelist.OutboundWhitelist)(objectClass=com.atlassian.plugins.whitelist.OutboundWhitelist))
&gadgetRequestContextFactory of type (&(objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)(objectClass=com.atlassian.gadgets.GadgetRequestContextFactory))
&whitelistService of type (&(objectClass=com.atlassian.plugins.whitelist.WhitelistService)(objectClass=com.atlassian.plugins.whitelist.WhitelistService))
&dashboardService of type (&(objectClass=com.atlassian.gadgets.dashboard.DashboardService)(objectClass=com.atlassian.gadgets.dashboard.DashboardService))
&gadgetViewFactory of type (&(objectClass=com.atlassian.gadgets.view.GadgetViewFactory)(objectClass=com.atlassian.gadgets.view.GadgetViewFactory))
&responseFactory of type (&(objectClass=com.atlassian.jira.rest.util.ResponseFactory)(objectClass=com.atlassian.jira.rest.util.ResponseFactory))

It was loaded from /Users/ck/software/dianrong.plugin/target/container/tomcat8x/cargo-jira-home/webapps/jira/WEB-INF/atlassian-bundled-plugins/jira-gadgets-plugin-7.2.2.jar

'com.atlassian.jira.jira-projects-plugin' - 'JIRA Projects Plugin' failed to load.
The plugin has been disabled. A likely cause is that it timed out during initialisation

It has the following missing service dependencies :
&jaxbJsonMarshaller of type (&(objectClass=com.atlassian.plugins.rest.common.json.JaxbJsonMarshaller)(objectClass=com.atlassian.plugins.rest.common.json.JaxbJsonMarshaller))
&gadgetRequestContextFactory of type (&(objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)(objectClass=com.atlassian.gadgets.GadgetRequestContextFactory))
&gadgetViewFactory of type (&(objectClass=com.atlassian.gadgets.view.GadgetViewFactory)(objectClass=com.atlassian.gadgets.view.GadgetViewFactory))

It was loaded from /Users/ck/software/dianrong.plugin/target/container/tomcat8x/cargo-jira-home/webapps/jira/WEB-INF/atlassian-bundled-plugins/jira-projects-plugin-4.1.9.jar

'com.atlassian.jira.jira-view-issue-plugin' - 'Atlassian JIRA - Plugins - View Issue Panels' failed to load.
The plugin has been disabled. A likely cause is that it timed out during initialisation

It has the following missing service dependencies :
&request-factory of type (objectClass=com.atlassian.sal.api.net.RequestFactory)
&application-link-service of type (objectClass=com.atlassian.applinks.api.ApplicationLinkService)

It was loaded from /Users/ck/software/dianrong.plugin/target/container/tomcat8x/cargo-jira-home/webapps/jira/WEB-INF/atlassian-bundled-plugins/jira-view-issue-plugin-7.2.2.jar

'com.atlassian.applinks.applinks-plugin' - 'Applinks - Plugin - Core' failed to load.
The plugin has been disabled. A likely cause is that it timed out during initialisation

It has the following missing service dependencies :
&restUrlBuilder of type (objectClass=com.atlassian.plugins.rest.common.util.RestUrlBuilder)
&requestFactory of type (objectClass=com.atlassian.sal.api.net.RequestFactory)

It was loaded from /Users/ck/software/dianrong.plugin/target/container/tomcat8x/cargo-jira-home/webapps/jira/WEB-INF/atlassian-bundled-plugins/applinks-plugin-5.2.3.jar

'com.atlassian.mywork.mywork-jira-provider-plugin' - 'Workbox - JIRA Provider Plugin' failed to load.
Application context initialization for 'com.atlassian.mywork.jira-provider-plugin' has timed out waiting for (|(&(objectClass=com.atlassian.mywork.service.NotificationService)(type=delegator))(&(objectClass=com.atlassian.mywork.service.TaskService)(type=delegator))(objectClass=com.atlassian.mywork.service.ServiceSelector)(objectClass=com.atlassian.mywork.service.HostService))

It has the following missing service dependencies :
&serviceSelector of type (objectClass=com.atlassian.mywork.service.ServiceSelector)
&taskService of type (&(objectClass=com.atlassian.mywork.service.TaskService)(type=delegator))
&notificationService of type (&(objectClass=com.atlassian.mywork.service.NotificationService)(type=delegator))
&hostService of type (objectClass=com.atlassian.mywork.service.HostService)

It was loaded from /Users/ck/software/dianrong.plugin/target/container/tomcat8x/cargo-jira-home/webapps/jira/WEB-INF/atlassian-bundled-plugins/mywork-jira-provider-plugin-3.0.4.jar

'com.atlassian.plugins.atlassian-nav-links-plugin' - 'Atlassian Navigation Links Plugin' failed to load.
Application context initialization for 'com.atlassian.plugins.atlassian-nav-links-plugin' has timed out waiting for (|(objectClass=com.atlassian.applinks.spi.link.MutatingEntityLinkService)(objectClass=com.atlassian.applinks.spi.util.TypeAccessor)(objectClass=com.atlassian.applinks.api.ApplicationLinkService)(objectClass=com.atlassian.applinks.api.ReadOnlyApplicationLinkService)(objectClass=com.atlassian.plugins.navlink.spi.ProjectManager)(objectClass=com.atlassian.plugins.navlink.spi.ProjectPermissionManager)(objectClass=com.atlassian.plugins.navlink.spi.weights.ApplicationWeights))

It has the following missing service dependencies :
&weights of type (objectClass=com.atlassian.plugins.navlink.spi.weights.ApplicationWeights)
&readOnlyApplicationLinkService of type (objectClass=com.atlassian.applinks.api.ReadOnlyApplicationLinkService)
&app-link-service of type (objectClass=com.atlassian.applinks.api.ApplicationLinkService)
&typeAccessor of type (objectClass=com.atlassian.applinks.spi.util.TypeAccessor)
&projectManager of type (objectClass=com.atlassian.plugins.navlink.spi.ProjectManager)
&mutatingEntityLinkService of type (objectClass=com.atlassian.applinks.spi.link.MutatingEntityLinkService)
&projectPermissionManager of type (objectClass=com.atlassian.plugins.navlink.spi.ProjectPermissionManager)

It was loaded from /Users/ck/software/dianrong.plugin/target/container/tomcat8x/cargo-jira-home/webapps/jira/WEB-INF/atlassian-bundled-plugins/atlassian-nav-links-plugin-4.3.0.jar

'com.atlassian.applinks.applinks-basicauth-plugin' - 'Applinks - Plugin - Basic Authentication' failed to load.
Application context initialization for 'com.atlassian.applinks.applinks-basicauth-plugin' has timed out waiting for (|(objectClass=com.atlassian.applinks.spi.auth.AuthenticationConfigurationManager)(objectClass=com.atlassian.applinks.api.ApplicationLinkService)(objectClass=com.atlassian.applinks.core.InternalTypeAccessor)(objectClass=com.atlassian.sal.api.net.RequestFactory))

It has the following missing service dependencies :
&applicationLinkService of type (objectClass=com.atlassian.applinks.api.ApplicationLinkService)
&authenticationConfigurationManager of type (objectClass=com.atlassian.applinks.spi.auth.AuthenticationConfigurationManager)
&typeAccessor of type (objectClass=com.atlassian.applinks.core.InternalTypeAccessor)
&requestFactory of type (objectClass=com.atlassian.sal.api.net.RequestFactory)

It was loaded from /Users/ck/software/dianrong.plugin/target/container/tomcat8x/cargo-jira-home/webapps/jira/WEB-INF/atlassian-bundled-plugins/applinks-basicauth-plugin-5.2.3.jar

'com.atlassian.plugins.base-hipchat-integration-plugin-api' - 'Atlassian Hipchat Integration Plugin Core' failed to load.
Error creating bean with name 'connectDescriptorLoaderPublic': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectDescriptorLoader' defined in URL [bundle://130.0:0/META-INF/spring/atlassian-plugins-host-components.xml]: Cannot resolve reference to bean 'defaultHipChatAOLinkManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultHipChatAOLinkManager' defined in URL [bundle://130.0:0/META-INF/spring/atlassian-plugins-host-components.xml]: Cannot create inner bean 'com.atlassian.plugins.hipchat.link.DefaultHipChatAOLinkManager#678e389b' of type [com.atlassian.plugins.hipchat.link.DefaultHipChatAOLinkManager] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.plugins.hipchat.link.DefaultHipChatAOLinkManager#678e389b' defined in URL [bundle://130.0:0/META-INF/spring/atlassian-plugins-host-components.xml]: Cannot resolve reference to bean 'hipChatAPIFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hipChatAPIFactory' defined in URL [bundle://130.0:0/META-INF/spring/atlassian-plugins-host-components.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.plugins.hipchat.api.routes.DefaultHipChatAPIFactory]: Constructor threw exception; nested exception is com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jersey.spi.service.ServiceFinder
Error creating bean with name 'connectDescriptorLoader' defined in URL [bundle://130.0:0/META-INF/spring/atlassian-plugins-host-components.xml]: Cannot resolve reference to bean 'defaultHipChatAOLinkManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultHipChatAOLinkManager' defined in URL [bundle://130.0:0/META-INF/spring/atlassian-plugins-host-components.xml]: Cannot create inner bean 'com.atlassian.plugins.hipchat.link.DefaultHipChatAOLinkManager#678e389b' of type [com.atlassian.plugins.hipchat.link.DefaultHipChatAOLinkManager] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.plugins.hipchat.link.DefaultHipChatAOLinkManager#678e389b' defined in URL [bundle://130.0:0/META-INF/spring/atlassian-plugins-host-components.xml]: Cannot resolve reference to bean 'hipChatAPIFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hipChatAPIFactory' defined in URL [bundle://130.0:0/META-INF/spring/atlassian-plugins-host-components.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.plugins.hipchat.api.routes.DefaultHipChatAPIFactory]: Constructor threw exception; nested exception is com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jersey.spi.service.ServiceFinder
Error creating bean with name 'defaultHipChatAOLinkManager' defined in URL [bundle://130.0:0/META-INF/spring/atlassian-plugins-host-components.xml]: Cannot create inner bean 'com.atlassian.plugins.hipchat.link.DefaultHipChatAOLinkManager#678e389b' of type [com.atlassian.plugins.hipchat.link.DefaultHipChatAOLinkManager] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.plugins.hipchat.link.DefaultHipChatAOLinkManager#678e389b' defined in URL [bundle://130.0:0/META-INF/spring/atlassian-plugins-host-components.xml]: Cannot resolve reference to bean 'hipChatAPIFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hipChatAPIFactory' defined in URL [bundle://130.0:0/META-INF/spring/atlassian-plugins-host-components.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.plugins.hipchat.api.routes.DefaultHipChatAPIFactory]: Constructor threw exception; nested exception is com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jersey.spi.service.ServiceFinder
Error creating bean with name 'com.atlassian.plugins.hipchat.link.DefaultHipChatAOLinkManager#678e389b' defined in URL [bundle://130.0:0/META-INF/spring/atlassian-plugins-host-components.xml]: Cannot resolve reference to bean 'hipChatAPIFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hipChatAPIFactory' defined in URL [bundle://130.0:0/META-INF/spring/atlassian-plugins-host-components.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.plugins.hipchat.api.routes.DefaultHipChatAPIFactory]: Constructor threw exception; nested exception is com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jersey.spi.service.ServiceFinder
Error creating bean with name 'hipChatAPIFactory' defined in URL [bundle://130.0:0/META-INF/spring/atlassian-plugins-host-components.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.plugins.hipchat.api.routes.DefaultHipChatAPIFactory]: Constructor threw exception; nested exception is com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jersey.spi.service.ServiceFinder
Failed to instantiate [com.atlassian.plugins.hipchat.api.routes.DefaultHipChatAPIFactory]: Constructor threw exception; nested exception is com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jersey.spi.service.ServiceFinder
java.lang.NoClassDefFoundError: Could not initialize class com.sun.jersey.spi.service.ServiceFinder
Could not initialize class com.sun.jersey.spi.service.ServiceFinder

It was loaded from /Users/ck/software/dianrong.plugin/target/container/tomcat8x/cargo-jira-home/webapps/jira/WEB-INF/atlassian-bundled-plugins/base-hipchat-integration-plugin-api-7.8.21.jar

'com.atlassian.jira.plugins.jira-importers-bitbucket-plugin' - 'Bitbucket Importer Plugin for JIM' failed to load.
The plugin has been disabled. A likely cause is that it timed out during initialisation

It has the following missing service dependencies :
&requestFactory of type (&(objectClass=com.atlassian.sal.api.net.RequestFactory)(objectClass=com.atlassian.sal.api.net.RequestFactory))

It was loaded from /Users/ck/software/dianrong.plugin/target/container/tomcat8x/cargo-jira-home/webapps/jira/WEB-INF/atlassian-bundled-plugins/jira-importers-bitbucket-plugin-1.0.15.jar

'com.atlassian.plugins.atlassian-whitelist-api-plugin' - 'Atlassian Whitelist API Plugin' failed to load.
Application context initialization for 'com.atlassian.plugins.atlassian-whitelist-api-plugin' has timed out waiting for (objectClass=com.atlassian.applinks.api.ReadOnlyApplicationLinkService)

It has the following missing service dependencies :
&applicationLinkService of type (objectClass=com.atlassian.applinks.api.ReadOnlyApplicationLinkService)

It was loaded from /Users/ck/software/dianrong.plugin/target/container/tomcat8x/cargo-jira-home/webapps/jira/WEB-INF/atlassian-bundled-plugins/atlassian-whitelist-api-plugin-1.18.jar

'com.atlassian.plugins.atlassian-remote-event-common-plugin' - 'Atlassian Remote Event Common Plugin' failed to load.
The plugin has been disabled. A likely cause is that it timed out during initialisation

It has the following missing service dependencies :
&applicationLinkService of type (&(objectClass=com.atlassian.applinks.api.ApplicationLinkService)(objectClass=com.atlassian.applinks.api.ApplicationLinkService))
&linkedApplicationCapabilities of type (&(objectClass=com.atlassian.plugins.capabilities.api.LinkedApplicationCapabilities)(objectClass=com.atlassian.plugins.capabilities.api.LinkedApplicationCapabilities))

It was loaded from /Users/ck/software/dianrong.plugin/target/container/tomcat8x/cargo-jira-home/webapps/jira/WEB-INF/atlassian-bundled-plugins/atlassian-remote-event-common-plugin-1.0.9-D20151109T070900.jar

 

 

2 answers

I got this type of issue resolved.

Check in your atlassian-plugin.xml file for any <component> or <component-import> tags for 

OutboundWhitelist class.

If have that defined with <component> tag, annotate that class with @Component and where ever you are injecting that class (through constructor) as below.

public class XYZ{
...

// constructor
@Autowired
public XYZ(


final OutboundWhitelist outbound){

...}} 

If you have that class/interface defined with <component-import> tag, inject that class/interface in the constructor as below

public class Example{

private OutboundWhitelist outbound;

...

@Autowired

public Example(

@ComponentImport final OutboundWhitelist outbound){

...

}}

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

275 views 1 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you