I am developing a confluence plugin which does work each time I start atlas-run
with a clean build. But the quick reload feature does not work - at least not consistently.
Most of the times I try to `atlas-mvn package’ I get a:
Caused by: java.lang.ClassNotFoundException: <MyMainPluginClass>
[INFO] [talledLocalContainer] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1532)
[INFO] [talledLocalContainer] at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
and so on...
When I do a atlas-clean
and then again a atlas-run
it works again.
I have changed the spring scanning to the version 2 - following the the instructions here:
https://bitbucket.org/atlassian/atlassian-spring-scanner/overview
But still no luck. How can I debug this? What else could I check? I am running out of ideas…