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 | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Solr : Always seeking for a core named "collection1"

    Stack Overflow | 8 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