No qualifying bean for internal class

Hi All,

(Cross-posting: [No qualifying bean for own plugin class])

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.