I try to create a JRJC with jira-rest-java-client-2.0.0-m2 but I have a lot of java.lang.ClassNotFoundException. What libraries do I need? Do i need the jersey libraries?
I also got some ClassNotFoundException / NoClassDefFoundError Exceptions and they were caused by version incompatibility with other dependencies out of my pom.xml (transitiv dependencies).
For example i got the
"com.atlassian.httpclient.api.ResponseTransformationException: java.lang.NoClassDefFoundError: org/apache/http/config/Lookup"
Exception because i also used "selenium-java" as dependency in my pom.xml.
My solution was to exclude "org.apache.httpcomponents.httpclient" in the "selenium-java" dependency.
Excluding "org.apache.httpcomponents.httpclient"
from the "jira-rest-java-client-2.0.0-m2" won't work
because jira needs exactly the version out of its transitiv dependency.
same question here
https://answers.atlassian.com/questions/199648/rest-java-client-library-maven-dependency
in following document they explained required dependecies for this project
https://ecosystem.atlassian.net/wiki/display/JRJC/Project+Dependencies
following links also my be help
http://stackoverflow.com/questions/16330346/maven-dependency-for-jira-rest-java-client-0-2-m1-jar
http://stackoverflow.com/questions/17881512/how-to-include-jira-rest-java-client-in-a-jira-plugin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here
Caused by: java.lang.ClassNotFoundException: com.atlassian.util.concurrent.Effect
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.