Reputation: 6756
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
Upvotes: 1
Views: 541
Reputation: 373
Please download the latest version of solr from the Apache Solr website. You should have java 8 or higher and your JAVA_HOME must be set too accordingly to have the solr up and running.
Upvotes: 1
Reputation: 136
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.
Upvotes: 1
Reputation: 11020
This means, that you're not using the right Java Version. Update it to the latest Version and try it again. Should solve the problem.
Upvotes: 1