0
我是Solr的初學者。我在Windows 7上的Tomcat 7上安裝了Solr 1.4.1。 安裝成功我可以到達http://localhost:8080/solr/admin/頁面。SimplePostTool:FATAL:連接錯誤(Solr運行在http:// localhost:8983/solr/update?)
但是當我試圖發佈一些測試XML我有這個奇怪的錯誤。
C:\Users\Bohdan\Downloads\apache-solr-1.4.1\apache-solr-1.4.1\example\exampledocs>java -jar post.jar solr.xml
SimplePostTool: version 1.2
SimplePostTool: WARNING: Make sure your XML documents are encoded in UTF-8, other encodings are not currently supported
SimplePostTool: POSTing files to http://localhost:8983/solr/update..
SimplePostTool: POSTing file solr.xml
SimplePostTool: FATAL: Connection error (is Solr running at http://localhost:8983/solr/update ?): java.net.ConnectException: Connection refused: connect
C:\Users\Bohdan\Downloads\apache-solr-1.4.1\apache-solr-1.4.1\example\exampledocs>
很抱歉,我在網上找不到答案。可能有人知道。
這樣做你是對的 但我並不怎麼改... 只有一個jar文件後,沒有配置。 – Cherven 2010-12-04 05:37:14