No qualifying bean for own plugin class

DanielG
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.
July 11, 2017

I've created a JIRA plugin which uses version 2 of Spring Scanner.

It installs and runs fine on 50% of the instances I test against, and fails on 50% which is making it harder to find the pattern.

The error is:

No qualifying bean of type [com.wikistrat.jira.version.service.PermissionService]

Except that PermissionService is a class inside my plugin.

Do you need to use dependency injection for classes which are part of your existing plugin (and namespace)? Any suggestions as to where I can look to figure out why it runs in some environments and not others?

0 answers

Suggest an answer

Log in or Sign up to answer