lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Furkan KAMACI <furkankam...@gmail.com>
Subject Could not load config for solrconfig.xml
Date Thu, 21 Mar 2013 23:51:38 GMT
I run ant idea command  for Solr 4.1.0 and opened source code within
Intellij IDEA 12.0.4 and I use Centos 6.4 at my 64 bit computer.

I debugged JettySolrRunner (I don't know, I think this is the way to run
Solt with Embedd Jetty within my Intellij IDEA.) However I get that error:

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:897)
    at org.apache.solr.core.CoreContainer.create(CoreContainer.java:957)
    at org.apache.solr.core.CoreContainer$2.call(CoreContainer.java:579)
    at org.apache.solr.core.CoreContainer$2.call(CoreContainer.java:574)
    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:1145)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.IOException: Can't find resource 'solrconfig.xml' in
classpath or './collection1/conf/', cwd=/home/kamaci/projects/lucene-solr
    at
org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:319)
    at
org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:284)
    at org.apache.solr.core.Config.<init>(Config.java:112)
    at org.apache.solr.core.Config.<init>(Config.java:82)
    at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:117)
    at
org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:894)
    ... 11 more

What to do?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message