The plugin has been installed but cannot be enabled

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

Did you install the plugin through the Universal Plugin Manager?

hi, Bastiaan

yes, i use the UPM.

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

0 votes
Timothy Chin Community Champion Jan 11, 2013

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 6 hours ago in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

48 views 0 1
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you