Fixing Solr error: Error CREATEing SolrCore ‘new_core’

If you run solr for the first time and try to make a core through the UI, you can get the following error:

Error CREATEing SolrCore 'new_core': 
Unable to create core [new_core] 

Caused by: Can't find resource 'solrconfig.xml' in classpath or
'D:\projects\image-annotation\solr-5.5.0\server\solr\new_core



If you go to the properties screen, you can find out what is on the classpath:

 

The reason you get the above error message is the source files aren't on the classpath - you can either add it, or copy all the files from here:

D:\projects\image-annotation\solr-5.5.0\example\files\conf

To here:

D:\projects\image-annotation\solr-5.5.0\server\resources

4 Replies to “Fixing Solr error: Error CREATEing SolrCore ‘new_core’”

Leave a Reply

Your email address will not be published. Required fields are marked *