I am learning Solr and using the quick start guide. When posting the example documents to the Solr core using the command:
java -jar -Dc=techproducts example/exampledocs/post.jar *.xml
I get those errors:
Error: Could not find or load main class org.apache.solr.util.SimplePostTool
Caused by: java.lang.ClassNotFoundException: org.apache.solr.util.SimplePostTool
My Java version is JDK 11 and my Solr version is 9.3.0.
I am unable to figure out why I am getting those. I don't have multiple instances of Java installed. Any help will be appreciated.
Make sure you downloaded the correct version on Solr (Binary) - https://www.apache.org/dyn/closer.lua/solr/solr/9.3.0/solr-9.3.0.tgz?action=download
There is a chance that you downloaded a Source release.