Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Problems with egit.github
Problems with egit.github [message #1405510] Thu, 07 August 2014 14:07 Go to next message
David Baum is currently offline David BaumFriend
Messages: 20
Registered: August 2014
Junior Member
Hello everyone,

my small piece of software uses the egit.github.core package. For dependencies I'm usig maven:



(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>(
        at my.project.MainClass.main(
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

Re: Problems with egit.github [message #1420092 is a reply to message #1405510] Tue, 09 September 2014 13:34 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1212
Registered: July 2009
Senior Member
* you are trying to use a pretty old version of the github connector (latest is 3.4)
* the github connector is built using Tycho and the build artefacts are OSGi bundles (package type eclipse-plugin)
* find them on here
* you need to add Maven dependencies for the artefacts you need in your build
Previous Topic:Delete a file on remote repository via Egit
Next Topic:how to remove folder from git version control
Goto Forum:

Current Time: Sat Aug 20 00:19:57 GMT 2022

Powered by FUDForum. Page generated in 0.06539 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top