snacktory
snacktory copied to clipboard
NoClassDefFoundError: Could not initialize class de.jetwick.snacktory.HtmlFetcher
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?
Sorry, no experience with gradle. Maybe just a connection problem to the github repo and you should try it again?
Would it be possible to publish this to maven central?
I have no time for this project anymore, sorry. Maybe you are interested in taking it over :) ?
I'll definitely consider it. In the meantime will try and investigate why IntelliJ stopped connecting to the repo.
Thanks for the quick reply!