Hi,
I have defined a custom module type in my plugin.xml and it works great within the plugin itself. When I try to use the custom module type in another plugin I get a ClassCastException stating, that Class of the second plugin can not be cast to the Interface defined in the first plugin and user as type in the ModuleDescriptor. This seems to happen, because the Interface is loaded by another class loader than the implementing class.
Do you have any suggestion how to fix this?
Thank you,
Robert
Community moderators have prevented the ability to post new answers.
Hi Robert,
Take a look into the links below:
https://summit.atlassian.com/archives/2012/plugin-dev/plugins-in-your-plugins
I hope them can help you.
Cheers,
RMRodrigues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.