Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

NoClassDefFoundError: Could not initialize class de.jetwick.snacktory.HtmlFetcher #49

Open
danielabar opened this issue Jun 30, 2016 · 4 comments

Comments

@danielabar
Copy link

I'm using snacktory with IntelliJ 15 and Gradle. The following was working yesterday, but stopped working today:

repositories {
  maven {
    url "https://github.com/karussell/mvnrepo/raw/master/releases/"
  }
}
dependencies {
  compile('de.jetwick:snacktory:1.2')
}

Getting errors from HtmlFetcher fetcher = new HtmlFetcher();:

java.lang.NoClassDefFoundError: Could not initialize class de.jetwick.snacktory.HtmlFetcher

Things I tried in IntelliJ:

  • refresh gradle deps
  • Build -> Rebuild Project
  • File -> Invalidate Caches/Restart

Interesting if I build a jar with dependencies and run javac -jar..., then it does seem to work.

Any ideas what might have gone wrong?

@karussell
Copy link
Owner

Sorry, no experience with gradle. Maybe just a connection problem to the github repo and you should try it again?

@danielabar
Copy link
Author

Would it be possible to publish this to maven central?

@karussell
Copy link
Owner

karussell commented Jul 1, 2016

I have no time for this project anymore, sorry. Maybe you are interested in taking it over :) ?

@danielabar
Copy link
Author

I'll definitely consider it. In the meantime will try and investigate why IntelliJ stopped connecting to the repo.

Thanks for the quick reply!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants