org.apache.solr.common.SolrException: Could not load config for solrconfig.xml

Apache's JIRA Issue Tracker | Roald Hopman | 4 years ago
  1. 0

    java.lang.IllegalArgumentException: No enum const class org.apache.lucene.util.Version.LUCENE_43 solr-4.3.0/example/solr/collection1/conf/solrconfig.xml has <luceneMatchVersion>LUCENE_43</luceneMatchVersion> Which causes: SolrCore Initialization Failures collection1: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load config for solrconfig.xml From catalina.out : SEVERE: Unable to create core: collection1 org.apache.solr.common.SolrException: Could not load config for solrconfig.xml at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:991) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:1051) at org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:634) at org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:629) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) Caused by: org.apache.solr.common.SolrException: Invalid luceneMatchVersion 'LUCENE_43', valid values are: [LUCENE_30, LUCENE_31, LUCENE_32, LUCENE_33, LUCENE_34, LUCENE_35, LUCENE_36, LUCENE_40, LUCENE_41, LUCENE_42, LUCENE_CURRENT] or a string in format 'V.V' at org.apache.solr.core.Config.parseLuceneVersionString(Config.java:313) at org.apache.solr.core.Config.getLuceneVersion(Config.java:298) at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:119) at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:989) ... 11 more Caused by: java.lang.IllegalArgumentException: No enum const class org.apache.lucene.util.Version.LUCENE_43 at java.lang.Enum.valueOf(Enum.java:214) at org.apache.lucene.util.Version.valueOf(Version.java:34) at org.apache.lucene.util.Version.parseLeniently(Version.java:133) at org.apache.solr.core.Config.parseLuceneVersionString(Config.java:311) ... 14 more May 7, 2013 9:10:00 PM org.apache.solr.common.SolrException log SEVERE: null:org.apache.solr.common.SolrException: Unable to create core: collection1 at org.apache.solr.core.CoreContainer.recordAndThrow(CoreContainer.java:1672) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:1057) at org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:634) at org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:629) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) Caused by: org.apache.solr.common.SolrException: Could not load config for solrconfig.xml at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:991) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:1051) ... 10 more Caused by: org.apache.solr.common.SolrException: Invalid luceneMatchVersion 'LUCENE_43', valid values are: [LUCENE_30, LUCENE_31, LUCENE_32, LUCENE_33, LUCENE_34, LUCENE_35, LUCENE_36, LUCENE_40, LUCENE_41, LUCENE_42, LUCENE_CURRENT] or a string in format 'V.V' at org.apache.solr.core.Config.parseLuceneVersionString(Config.java:313) at org.apache.solr.core.Config.getLuceneVersion(Config.java:298) at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:119) at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:989) ... 11 more Caused by: java.lang.IllegalArgumentException: No enum const class org.apache.lucene.util.Version.LUCENE_43 at java.lang.Enum.valueOf(Enum.java:214) at org.apache.lucene.util.Version.valueOf(Version.java:34) at org.apache.lucene.util.Version.parseLeniently(Version.java:133) at org.apache.solr.core.Config.parseLuceneVersionString(Config.java:311) ... 14 more

    Apache's JIRA Issue Tracker | 4 years ago | Roald Hopman
    org.apache.solr.common.SolrException: Could not load config for solrconfig.xml
  2. 0

    Index Recovery Failed after upgrade to 1.4.3

    GitHub | 2 years ago | HenrikOssipoff
    java.lang.IllegalArgumentException: No enum constant org.apache.lucene.util.Version.4.9.0
  3. 0

    Rolling Upgrading from 1.2.1 to 1.3.0 – java.lang.IllegalArgumentException: No enum constant org.apache.lucene.util.Version.4.3.1

    Google Groups | 2 years ago | Ollie
    java.lang.IllegalArgumentException: No enum constant org.apache.lucene.util.Version.4.3.1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PogoEntityCoercion - Null enums are not supported

    GitHub | 4 years ago | codeconsole
    java.lang.IllegalArgumentException: No enum const class com.pixoto.image.LicenseType.null
  6. 0

    [CLOSED] IllegalArgumentException parsing AJAX request

    GitHub | 3 years ago | tduchateau
    java.lang.IllegalArgumentException: No enum const class com.github.dandelion.datatables.core.ajax.ColumnDef$SortDirection.DEC

  1. davidvanlaatum 1 times, last 1 week ago
  2. MoYapro 3 times, last 2 weeks ago
  3. iridic 116 times, last 3 weeks ago
  4. maxxi 4 times, last 1 month ago
  5. kuldeep 4 times, last 3 months ago
11 more registered users
12 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    No enum const class org.apache.lucene.util.Version.LUCENE_43

    at java.lang.Enum.valueOf()
  2. Java RT
    Enum.valueOf
    1. java.lang.Enum.valueOf(Enum.java:214)
    1 frame
  3. Lucene
    Version.parseLeniently
    1. org.apache.lucene.util.Version.valueOf(Version.java:34)
    2. org.apache.lucene.util.Version.parseLeniently(Version.java:133)
    2 frames
  4. Apache Solr Core
    CoreContainer$3.call
    1. org.apache.solr.core.Config.parseLuceneVersionString(Config.java:311)
    2. org.apache.solr.core.Config.getLuceneVersion(Config.java:298)
    3. org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:119)
    4. org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:989)
    5. org.apache.solr.core.CoreContainer.create(CoreContainer.java:1051)
    6. org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:634)
    7. org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:629)
    7 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    3. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    4. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    5. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    6. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
    7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    8. java.lang.Thread.run(Thread.java:679)
    8 frames