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

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 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 GitHub by Germanaz0
, 1 year ago
Can't find resource 'schema.xml' in classpath or '/usr/share/solr/./conf'
via Stack Overflow by James Eisenlohr
, 2 years ago
Can't find resource 'solrconfig.xml' in classpath or '/opt/jrun4/servers/prod-autofeed1/cfusion.ear/cfusion.war/WEB-INF/cfusion/collections/autofeed/conf/', cwd=/opt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/solr
via Google Groups by John Hufnagle, 2 months ago
Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/', cwd=/Users/johnhufnagle/Downloads/jetty-6.1.24
via Stack Overflow by Rafiq Ahmed
, 2 years ago
Can't find resource 'solrconfig.xml' in classpath or 'solr/--h/conf/', cwd=/opt/wk-solr
via Stack Overflow by Andrew Sparrow
, 1 year ago
Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/', cwd=/usr/share/tomcat6
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.(IndexSchema.java:94)
at org.apache.solr.core.SolrCore.(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.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.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.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
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 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)

Users with the same issue

You are the first who have seen this exception.

Write tip

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