HTTP ERROR: 404 missing core name in path with solr

I’ve gotten the same error:

HTTP ERROR: 404 missing core name in
path

In my case I’ve forgotten so set the solr/home value in the WEB-INF/web.xml file

<env-entry>
   <env-entry-name>solr/home</env-entry-name>
   <env-entry-value>/put/your/solr/home/here</env-entry-value>
   <env-entry-type>java.lang.String</env-entry-type>
</env-entry>

After I’ve added the above code and restarted the server, the error was gone.

Leave a Comment

tech