java.io.IOException: Can't find resource 'solrconfig.xml' in classpath or '/home/tharindu/Desktop/solr_tmp/custom/newsportal/collection1/conf'

Stack Overflow | tharindu_DG | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Solr : Always seeking for a core named "collection1"

    Stack Overflow | 6 months ago | tharindu_DG
    java.io.IOException: Can't find resource 'solrconfig.xml' in classpath or '/home/tharindu/Desktop/solr_tmp/custom/newsportal/collection1/conf'

    Root Cause Analysis

    1. java.io.IOException

      Can't find resource 'solrconfig.xml' in classpath or '/home/tharindu/Desktop/solr_tmp/custom/newsportal/collection1/conf'

      at org.apache.solr.core.SolrResourceLoader.openResource()
    2. Apache Solr Core
      SolrConfig.readFromResourceLoader
      1. org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:362)
      2. org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:308)
      3. org.apache.solr.core.Config.<init>(Config.java:117)
      4. org.apache.solr.core.Config.<init>(Config.java:87)
      5. org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:167)
      6. org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:145)
      6 frames