The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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 :) 

TAGS
AUG Leaders

Atlassian Community Events