No qualifying bean for internal class

Hi All,

(Cross-posting: [https://community.atlassian.com/t5/JIRA-questions/No-qualifying-bean-for-class-own-plugin-class/qaq-p/607680])

I’ve written a JIRA P2 plugin which has an internal class for managing user permissions, when I run it locally using atlas-run or atlas-debug it runs totally fine. When I upload it to any production servers, I get the following error:

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

Except, this class is located INSIDE my plugin, I’m not injecting it from somewhere else, and I’m not seeing any other compilation errors. Is it possible that there is another problem that’s buried inside this one, and I’m somehow missing it? Do you ever need to export and import your own classes inside a single P2 plugin?

The local server and production server are both running the exact same version.