I tried to inject ActiveObject into the constructor of my plugin class. Build succeed, but throughs run-time error as follows:
I solved the problem with following 2 step
Notice: No need to add <component-import> section in atlassian-plugin.xml
i was having this issue when I was running the unit tests.
Basically, i was using Spring Junit runner to run my tests and had a test application context taht was doing a scan for all annotations.
I ended up excluding the classes injecting AO from the component scan as I will be using ActiveObect test runner to run unit tests for these classes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.