Skip to content

Installing and running github-api #1296

Answered by bitwiseman
nanyiyang asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry if these are dumb questions, but I would appreciate the answer to the following:

  1. After installing the jar file from here and importing it into a project, how would I verify that everything is working properly? I tried commands from here in a main file, but I was getting ClassNotFoundExeception (see below) and it was saying that the createRepository() command was depreciated.
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils
	at org.kohsuke.github.GitHubBuilder.fromPropertyFile(GitHubBuilder.java:205)
	at org.kohsuke.github.GitHubBuilder.fromPropertyFile(GitHubBuilder.java:186)
	at org.kohsuke.github.GitHubBuilder.fromCredentials(GitHubBuilde…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bitwiseman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants