Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Problem with Dependency Injection

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

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

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you