Hello everyone,
my small piece of software uses the egit.github.core package. For dependencies I'm usig maven:
<dependency>
<groupId>org.eclipse.mylyn.github</groupId>
<artifactId>org.eclipse.egit.github.core</artifactId>
<version>2.1.5</version>
</dependency>
...
<repository>
<id>oss-sonatype</id>
<name>oss-sonatype</name>
<url>**url**</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
(I had to remove the url because of forum restrictions)
After compilation I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/egit/github/core/client/GitHubClient
at my.project.GitHub.<init>(GitHub.java:30)
at my.project.MainClass.main(MainClass.java:8)
Caused by: java.lang.ClassNotFoundException: org.eclipse.egit.github.core.client.GitHubClient
Then I created a java project with eclipse, added egit-github as external jar ... same error message, without maven.
What could cause this? this happens to every used class from the package.
Thanks in advance.
[Updated on: Thu, 07 August 2014 15:48]
Report message to a moderator