Search code examples
apachesolr

NoClassDefFoundError when starting apache solr


When I try start apache solr:

java -jar start.jar

I get NoClassDefFoundError: org/apache/solr/common/SolrException

How can I resolve that?

EDIT: I downloaded apache-solr-1.4.1 and extracted. On command line I go to example catalog and type java -jar start.jar


Solution

  • It has been very long time since you asked the question. Now 3.4.0 is out. Does the problem still exist? Your java version seems correct but you are not using GNU's GCJ, right? Because in the tutorial part, It says that it does not work with that version.