I'm having trouble integrating ActiveObjects into my projects. I followed this guide:
I tried different versions of the plugin (0.18.4, 0.19.7) and Jira (4.x, 5.1) but I cant install
the plugin because of the following exception:
[INFO] [talledLocalContainer] 2012-10-26 16:29:28,543 Spring executor 17 ERROR admin 989x291x1 ns79yg 127.0.0.1 /rest/plugins/1.0/ [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=XXX, config=osgibundle:/META-INF/spring/*.xml)) [INFO] [talledLocalContainer] org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tx-processor' defined in URL [bundle://104.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.atlassian.activeobjects.external.ActiveObjects]: : No unique bean of type [com.atlassian.activeobjects.external.ActiveObjects] is defined: Unsatisfied dependency of type [interface com.atlassian.activeobjects.external.ActiveObjects]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.atlassian.activeobjects.external.ActiveObjects] is defined: Unsatisfied dependency of type [interface com.atlassian.activeobjects.external.ActiveObjects]: expected at least 1 matching bean [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:591) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:193)
part of pom.xml: <dependency> <groupId>com.atlassian.activeobjects</groupId> <artifactId>activeobjects-plugin</artifactId> <version>0.19.7</version> <scope>provided</scope> </dependency> part of atlassian-plugin.xml: <ao key="ao-module"> <description>The module configuring the Active Objects service used by this plugin</description> <entity>com.XXX.jira.ao.Todo</entity> </ao> <component key="tx-processor" name="Transactional Annotation Processor" class="com.atlassian.activeobjects.external.TransactionalAnnotationProcessor"> <decription>Processes @Transactional annotations.</decription> </component> <component key="todo-service" name="Todo Service" class="com.XXX.jira.ao.TodoServiceImpl"/>
Any ideas what's wrong? Do i need a different version spring framework? Which one?
Seems like your `atlassian-plugin.xml` is missing this:
<component-import key="ao" name="Active Objects service" interface="com.atlassian.activeobjects.external.ActiveObjects"> <description>Component to access Active Objects functionality from the plugin</description> </component-import>
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs