Jira Custom Plugin Error . Error Creating bean with name 'workflowUtils'

SAI KRISHNA November 29, 2017

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

1 answer

0 votes
Aleksandr Zuevich
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 29, 2017

Hi!

You can use 

ComponentAccessor.getApplicationProperties()

instead of injecting ApplicationProperties.

Suggest an answer

Log in or Sign up to answer