java.lang.RuntimeException: Can't find resource 'schema.xml' in classpath or '/usr/share/solr/./conf'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Germanaz0
, 1 year ago
Can't find resource 'schema.xml' in classpath or '/usr/share/solr/./conf'
via okfn.org by Unknown author, 1 year ago
Can't find resource 'schema.xml' in classpath or '/usr/share/solr/conf/', cwd=/var/cache/jetty/tmp
via Stack Overflow by Andrew Sparrow
, 1 year ago
Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/', cwd=/usr/share/tomcat6
via Stack Overflow by jayunit100
, 2 years ago
Can't find resource 'solrconfig.xml' in classpath or '/tmp/solr_indexes_repo/viewbuilder_pckg100121/xxxxxxxx_count_distinct/part-00000/conf/', cwd=/Users/jayunit100/Development/apache-solr-3.4.0/example
via Stack Overflow by graney
, 2 years ago
Can't find resource 'solrconfig.xml' in classpath or 'e:\SolrInstances\sites\conf/', cwd=C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0
via GitHub by antono
, 10 months ago
Can't find resource 'solrconfig.xml' in classpath or '/home/antono/Code/shelr.tv/solr/conf/', cwd=/home/antono/.rvm/gems/ruby-1.9.3-p125/gems/sunspot_solr-1.3.0/solr
java.lang.RuntimeException: Can't find resource 'schema.xml' in classpath or '/usr/share/solr/./conf'
at org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:293)
at org.apache.solr.core.SolrResourceLoader.openSchema(SolrResourceLoader.java:232)
at org.apache.solr.schema.IndexSchema.(IndexSchema.java:120)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:478)
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:332)
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:216)
at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:161)
at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:96)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:519)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.