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 | 9 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

    Embedded Solr Server with Spring Boot

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