运行broadleafcommerce DemoSite失败,找不到http:// localhost:8983 / solr / catalog_reindex

时间:2017-12-24 12:08:40

标签: solr broadleaf-commerce

当我试图在本地运行它的想法(不改变任何代码)作为  https://www.broadleafcommerce.com/docs/core/current/getting-started/running-locally。我是否需要为solr配置一些特殊的东西?

Error starting ApplicationContext. To display the auto-configuration report 
re-run your application with 'debug' enabled.
2017-12-24 19:11:52.356 ERROR 30234 --- [           main]         o.s.boot.SpringApplication               : Application startup failed

org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error
from server at http://localhost:8983/solr/catalog_reindex: Expected mime type application/octet-stream but got text/html. <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /solr/catalog_reindex/update. Reason:
<pre>    Not Found</pre></p>
</body>
</html>

我在site / src / main / resources文件夹中找不到solrconfig.xml和schema.xml。

0 个答案:

没有答案