java.lang.RuntimeException: Can't find resource 'schema.xml' in classpath or '/usr/share/solr/conf/', cwd=/var/cache/jetty/tmp


Solutions on the web16

Solution icon of web
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

Solution icon of stackoverflow
via Stack Overflow by Andrew Sparrow
, 1 year ago
Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/', cwd=/usr/share/tomcat6

Solution icon of github
Can't find resource 'schema.xml' in classpath or '/usr/share/solr/./conf'

Solution icon of googlegroups
via Google Groups by John Hufnagle, 1 month ago
Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/', cwd=/Users/johnhufnagle/Downloads/jetty-6.1.24

Solution icon of stackoverflow
via Stack Overflow by Rafiq Ahmed
, 1 year ago
Can't find resource 'solrconfig.xml' in classpath or 'solr/--h/conf/', cwd=/opt/wk-solr

Solution icon of web
via blogspot.com by Unknown author, 1 year ago
Can't find resource 'solrconfig.xml' in classpath or 'solr\.\conf/', cwd=C:\progetti_eclipse\TestSolr

Solution icon of stackoverflow
Can't find resource 'solrconfig.xml' in classpath or '/home/sampleuser/public_html/apache-solr/example/solr/./conf/', cwd=/usr/local/jakarta/apache-tomcat-5.5.33/bin

Solution icon of stackoverflow
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

Solution icon of googlegroups
via Google Groups by Unknown author, 2 months ago
Can't find resource 'solrconfig.xml' in classpath or 'C:/dspace/solr\conf/', cwd=C:\Program Files\Apache Software Foundation\Tomcat 7.0

Solution icon of web
via filegala.com by Unknown author, 1 year ago
Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/', cwd=E:\eclipse-jee-luna-SR1a-win32-x86_64\eclipse

Stack trace

java.lang.RuntimeException: Can't find resource 'schema.xml' in
classpath or '/usr/share/solr/conf/', cwd=/var/cache/jetty/tmp
	at org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:262)
	at org.apache.solr.core.SolrResourceLoader.openSchema(SolrResourceLoader.java:222)
	at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:94)
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:521)
	at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:137)
	at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
	at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:662)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
	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)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.Server.doStart(Server.java:224)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.mortbay.start.Main.invokeMain(Main.java:194)
	at org.mortbay.start.Main.start(Main.java:534)
	at org.mortbay.jetty.start.daemon.Bootstrap.start(Bootstrap.java:30)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

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.