Hello,
one of my developers is trying to develop a plug in and this is what he ran into:
I tried to do development for JIRA plugin this week but I can't resolve the following problem - I've always got UnsatisfiedBeanDependency exception when trying to use SAL components (required for authorization check).
I've used JIRA documentation for the development process:
3. At the end of the previous document other users claim about the same issue and no solution is provided from atlassian.
I've tried to use different forums and google search but didn't find any working solution for it.
What could we do for the solution of this problem? It prevents me to proceed with development of other parts of plugin. I also have the same problem for velocity templates for plugin UI.
The stack trace of the root cause is:
[INFO] [talledLocalContainer] Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.atlassian.sal.api.user.UserManager] found for dependency: expected at least
1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1301)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1047)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
Please advise how to deal with this error.
thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.