Error creating bean with name 'workflowUtils': Unsatisfied dependency expressed through constructor argument with index 5 of type [com.atlassian.jira.config.properties.ApplicationProperties]: : No qualifying bean of type [com.atlassian.jira.config.properties.ApplicationProperties] is defined: expected single matching bean but found 2: applicationProperties,applicationProperties435; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [com.atlassian.jira.config.properties.ApplicationProperties] is defined: expected single matching bean but found 2: applicationProperties,applicationProperties435
Hi!
You can use
ComponentAccessor.getApplicationProperties()
instead of injecting ApplicationProperties.
Hi ,
Thanks for your answer .
Where should I add this line
ComponentAccessor.getApplicationProperties()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I suppose in the constructor of your WorkflowUtils class instead of injecting ApplicationProperties bean.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I don't have WorkflowUtils.java file in my project .
Please let me know .
Thanks
Sai krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.