org.springframework.data.solr.UncategorizedSolrException: No such core: collection1; nested exception is org.apache.solr.common.SolrException: No such core: collection1

Stack Overflow | mars 76 | 7 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

    Embedded Solr Server with Spring Boot

    Stack Overflow | 7 months ago | mars 76
    org.springframework.data.solr.UncategorizedSolrException: No such core: collection1; nested exception is org.apache.solr.common.SolrException: No such core: collection1

    Root Cause Analysis

    1. org.springframework.data.solr.UncategorizedSolrException

      No such core: collection1; nested exception is org.apache.solr.common.SolrException: No such core: collection1

      at org.springframework.data.solr.core.SolrTemplate.execute()
    2. Spring Data Solr
      SimpleSolrRepository.count
      1. org.springframework.data.solr.core.SolrTemplate.execute(SolrTemplate.java:172)
      2. org.springframework.data.solr.core.SolrTemplate.count(SolrTemplate.java:197)
      3. org.springframework.data.solr.core.SolrTemplate.count(SolrTemplate.java:188)
      4. org.springframework.data.solr.repository.support.SimpleSolrRepository.count(SimpleSolrRepository.java:142)
      5. org.springframework.data.solr.repository.support.SimpleSolrRepository.count(SimpleSolrRepository.java:137)
      5 frames