Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

ClassDefNotFound Exception - external external jars

Matthias Günter May 6, 2015

Hi, 

got the error using a function in JIRA plugin, which has dependencies to a external jar (call it FIRSTJAR).

The difficult is, that the external jar has dependencies on other jars like commons-codecs (OTHERJAR1) and so on...

I got the FIRSTJAR resolved by a dependency entry in pom.xml - I added the FIRSTJAR to my local maven repository. 

Now i'am getting the ClassDefNotFoundException when I try to use functions of FIRSTJAR

 

How can this be done in a more common way? 

 

Thanks and cheers, 

Matt

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Nelson Carranza
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 6, 2015
Matthias Günter May 6, 2015

Thanks for your reply... now i found the solution: atlas-package in the plugin and all worked for me! In the <dependency> you need then <scope>compile</scope> Cheers, Matt

TAGS
AUG Leaders

Atlassian Community Events