Hi Guys,
I read ao documentation at https://developer.atlassian.com/display/AO/Active+Objects but none of them mentioned it is for which plugin type.
I need to develop a plugin with type 1, I put the following to my atlassian-plugins.xml
<ao key="ao-module">
<description>The module configuring the Active Objects service used by this plugin</description>
<entity>com.test.jira.plugins.test.ao.Customer</entity>
</ao>
Then after put the plugin to /WEB-INFO/lib folder, start Jira, I get the following error:
2012-12-05 12:40:17,604 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] There were problems loading the module 'ao' in plugin 'test'. The module has been disabled.
2012-12-05 12:40:17,605 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] net.sf.cglib.empty.Object$$EnhancerByCGLIB$$4a2687b2 cannot be cast to com.atlassian.plugin.ModuleDescriptor
java.lang.ClassCastException: net.sf.cglib.empty.Object$$EnhancerByCGLIB$$4a2687b2 cannot be cast to com.atlassian.plugin.ModuleDescriptor
This make me thinking if the ao module only for plugin type 2.
Anyone can advise?
Thanks a lot
Leon
Community moderators have prevented the ability to post new answers.
Yes, it is available only on v2 plugins.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.