我正在使用solr搜索我的應用程序,同時索引示例數據。 但是,當我使用在Solr中索引數據進行搜索
./post -c techproducts example/exampledocs/*.xml
我越來越
java -classpath /home/s/Desktop/solr1/dist/solr-core-*.jar -Dauto=yes -Dc=techproducts -Ddata=files org.apache.solr.util.SimplePostTool example/exampledocs/gb18030-example.xml example/exampledocs/hd.xml example/exampledocs/ipod_other.xml example/exampledocs/ipod_video.xml example/exampledocs/manufacturers.xml example/exampledocs/mem.xml example/exampledocs/money.xml example/exampledocs/monitor2.xml example/exampledocs/monitor.xml example/exampledocs/mp500.xml example/exampledocs/sd500.xml example/exampledocs/solr.xml example/exampledocs/utf8-example.xml example/exampledocs/vidcard.xml
Error: Could not find or load main class org.apache.solr.util.SimplePostTool
任何人都可以提出一些
http://stackoverflow.com/questions/27982501/apache的可能的複製-solr-quickstart-tutorial-while-loading-main-class-simpleposttool – Ranjitsinh
檢查此鏈接以及https://issues.apache.org/jira/browse/SOLR-6990 – Ranjitsinh
http://stackoverflow.com/問題/ 10847850 /使用-通配符功能於Java的類路徑 – vempo