Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Dependency Injection

Karthikayan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 14, 2019

Hi Team,

We have developed custom JIRA Plugin which is including the  REST modules.

The local instance working perfectly and even local REST API service I can able to access.

Same code base we are trying to deploy in our DEV region , we are unable to get the response from REST API and as well as we see dependency injection related error in logs.

 

Please find the below exception details

 

Unable to create new reference LazyLoadedFilterReference{descriptor=crowd-rest-application-management:crowd-rest-permission-management-filter (Provides a permission management service for Crowd administrators.), filterConfig=com.atlassian.plugin.servlet.filter.PluginFilterConfig@6a49d907}
io.atlassian.util.concurrent.LazyReference$InitializationException: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.atlassian.crowd.plugin.rest.service.resource.permission.UserPermissionAdminResource': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.atlassian.crowd.manager.permission.UserPermissionService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
 at io.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:156)

 

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.atlassian.crowd.plugin.rest.service.resource.permission.UserPermissionAdminResource': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.atlassian.crowd.manager.permission.UserPermissionService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

io.atlassian.util.concurrent.LazyReference$InitializationException: org.springframework.beans.factory.UnsatisfiedDependencyException:

1 answer

0 votes
Pedro Felgueiras
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.
November 14, 2019

The appropriate place to ask that question is  https://community.developer.atlassian.com/

But besides that, have you make an atlas-clean to check if "it works on you machine" ? 

 

Best luck with you atlassian developer journey :) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events