The plugin has been installed but cannot be enabled

Chong Ming Wang August 5, 2012

when i install a v2-plugin, i got this error, could someone give me some advise? i don't have much experience in the v2-plugin developement.

atlassian-jira.log:
2012-08-06 23:11:01,333 Spring executor 17 ERROR jira_admin 1390x1039x1 1xadlcs 127.0.0.1 /rest/plugins/1.0/ [plugin.osgi.factory.OsgiPlugin] Unable to start the Spring context for plugin com.xxx.xxx.working-rpc-jira-plugin-xxxaddon
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'soapService' defined in URL [bundle://99.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.xxx.jirax.service.xxxWorkItemService]: : Error creating bean with name 'xxxWorkItemService' defined in URL [bundle://99.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.xxx.jirax.JiraxContext]: : Error creating bean with name 'jiraxContext' defined in URL [bundle://99.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 4 of type [com.atlassian.jira.rpc.soap.service.IssueService]: : No unique bean of type [com.atlassian.jira.rpc.soap.service.IssueService] is defined: Unsatisfied dependency of type [interface com.atlassian.jira.rpc.soap.service.IssueService]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.atlassian.jira.rpc.soap.service.IssueService] is defined: Unsatisfied dependency of type [interface com.atlassian.jira.rpc.soap.service.IssueService]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jiraxContext' defined in URL [bundle://99.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 4 of type [com.atlassian.jira.rpc.soap.service.IssueService]: : No unique bean of type [com.atlassian.jira.rpc.soap.service.IssueService] is defined: Unsatisfied dependency of type [interface com.atlassian.jira.rpc.soap.service.IssueService]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.atlassian.jira.rpc.soap.service.IssueService] is defined: Unsatisfied dependency of type [interface com.atlassian.jira.rpc.soap.service.IssueService]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'xxxWorkItemService' defined in URL [bundle://99.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.xxx.jirax.JiraxContext]: : Error creating bean with name 'jiraxContext' defined in URL [bundle://99.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 4 of type [com.atlassian.jira.rpc.soap.service.IssueService]: : No unique bean of type [com.atlassian.jira.rpc.soap.service.IssueService] is defined: Unsatisfied dependency of type [interface com.atlassian.jira.rpc.soap.service.IssueService]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.atlassian.jira.rpc.soap.service.IssueService] is defined: Unsatisfied dependency of type [interface com.atlassian.jira.rpc.soap.service.IssueService]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jiraxContext' defined in URL [bundle://99.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 4 of type [com.atlassian.jira.rpc.soap.service.IssueService]: : No unique bean of type [com.atlassian.jira.rpc.soap.service.IssueService] is defined: Unsatisfied dependency of type [interface com.atlassian.jira.rpc.soap.service.IssueService]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.atlassian.jira.rpc.soap.service.IssueService] is defined: Unsatisfied dependency of type [interface com.atlassian.jira.rpc.soap.service.IssueService]: expected at least 1 matching bean
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:591)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:193)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

4 answers

0 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 11, 2013

Not sure but did you do a "component-import" for com.atlassian.jira.rpc.soap.service.IssueService?

0 votes
SimonS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 11, 2013

If you're still having this problem Chong, our support team can help you out over at support.atlassian.com

0 votes
Chong Ming Wang August 6, 2012

hi, Bastiaan

yes, i use the UPM.

0 votes
Bastiaan Jansen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 5, 2012

Did you install the plugin through the Universal Plugin Manager?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events