Jira version : 4.1.2
jira-fisheye-plugin : 3.0.17
I have declared the below in my atlassian-plugin.xml and the component is getting injected into my custom plugin class. However I get the Error " java.lang.NoClassDefFoundError: com/atlassian/jirafisheyeplugin/domain/FishEyeInstance" when I try calling methods on FishEyeInstanceStore to get the FishEyeURL.
I tried importing the packing by adding
in atlassian-plugin.xml but the plugin throws the error at startup
Any help will be appreciated.
Hi, you need to export these packages from the jira-fisheye-plugin as they are not exported by default.
Grab the source from here:
Add something similar to this to the
in the atlassian-plugin.xml for each package you need:
<bundle-instructions> <Import-Package> ... </Import-Package> <Export-Package> com.atlassian.jirafisheyeplugin.config.accesscondition.*, com.atlassian.applinks.api.application.stash;version="3.2", com.atlassian.jirafisheyeplugin.config.fisheye*, com.atlassian.jirafisheyeplugin.upgrade.legacy.config.fisheye*, com.atlassian.jirafisheyeplugin.domain.fisheye*, com.atlassian.jirafisheyeplugin.domain.crucible*, com.atlassian.jirafisheyeplugin.perforce* </Export-Package> <Bundle-Description>Makes FishEye changesets visible on projects and issues inside JIRA.</Bundle-Description> <Spring-Context>*;timeout:=360</Spring-Context> </bundle-instructions>
Then recompile, install the Modified jira-fisheye-plugin to your local maven (or however you will determine dependencies):
atlas-mvn install:install-file -DgroupId=com.atlassian.jira.plugins -DartifactId=jira-fisheye-plugin -Dversion=x.x.x-M1 -Dpackaging=jar -Dfile=target/jira-fisheye-plugin-x.x.x-M1.jar
Then update your plugin's dependencies to include the new jira-fisheye-plugin.
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