Class not found in SDK


I'm using JIRA6.0.3 and I'm trying to rebuild a plugin I made to work on an older version (and it worked).

In atlassian-plugin-sdk-4.2.0 I have the class


and I succeed in packaging my jar file. But when I run it, on the server, in the directory


there isn't the TextAnalyzer.class file (and some other classes differ)

Where am I wrong? Should I use some different version ?

Here are the early rows of the error I get when JIRA's starting

2013-07-04 10:11:52,890 ThreadPoolAsyncTaskExecutor::Thread 5 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the plugin container for plugin
java.lang.NoClassDefFoundError: com/atlassian/jira/issue/util/TextAnalyzer
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(
at java.lang.Class.getConstructors(

2 answers

1 accepted

Plase provide your plugin pom.xml file. A possible problem would be wrong dependency to "atlassian-jira", but in 6.x you shoild depend on jira-api and jira-core

Yes Boris, you are right.
Adding dependencies from jira-api and jira-core all is ok now.

Thank you very much

Could you please mark my answer as correct.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

441 views 8 26
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