• Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception in thread "Crawler 6" java.lang.NoSuchFieldError: INSTANCE  RSS feed

 
Isaac Ferguson
Ranch Hand
Posts: 1063
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

when I run my crawler it works well like this :






but at some point it throws an error like:




The web didnt help a lot. Any idea?
Regards
 
Knute Snortum
Sheriff
Posts: 4284
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd be interested in what the code in the method edu.uci.ics.crawler4j.fetcher.PageFetcher.fetchHeader() around line 159 looks like.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like one of the JAR files in your classpath is the wrong version, a version that is incompatible with one of the other JAR files that you are using. The error has something to do with Apache HTTP Client.

Check what the dependencies are for the version of Apache HTTP Client that you are using, and make sure you are using the right versions of the dependencies. Also make sure you don't have multiple (different) versions of the same JAR in your classpath.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!