It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Class not found in SDK

Francesco Rotondella Jul 03, 2013

Hello,

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

com.atlassian.jira.issue.util.TextAnalyzer

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

.../jira/atlassian-jira/WEB-INF/classes/com/atlassian/jira/issue/util/

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(Class.java:2413)
at java.lang.Class.getConstructors(Class.java:1478)

2 answers

1 accepted

1 vote
Answer accepted
Boris Georgiev Jul 07, 2013

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

0 votes
Francesco Rotondella Jul 07, 2013

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

Thank you very much

Boris Georgiev Jul 07, 2013

Could you please mark my answer as correct.

Thanks!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Marketplace Apps & Integrations

Demo Den Ep. 4: Continuous Integration with CircleCI & Jira Software

Get ready! Demo Den Episode 4 is coming your way on Tuesday, May 28, 2018 with a Continuous Integration and Delivery special demo. CircleCI Director of Solutions Engineering, Eddie Webb will show us ...

409 views 0 4
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you