Unable to inject service/Bean exposed by JiraFishEye plugin

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.

<component-import key="fisheyeInstanceStore">

I tried importing the packing by adding


in atlassian-plugin.xml but the plugin throws the error at startup

Any help will be appreciated.

1 answer

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:


            &lt;Bundle-Description&gt;Makes FishEye changesets visible on projects and issues inside JIRA.&lt;/Bundle-Description&gt;


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.

Should work


Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published Tuesday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

418 views 6 16
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot