lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doron Cohen <DOR...@il.ibm.com>
Subject fresh start question: exception running the demo - element 'web-app' not found
Date Tue, 16 May 2006 02:07:59 GMT

Hi,

Just loaded Solr - running the demo on Win32 (with Jetty) fails with
exception:
org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of
element 'web-app'.

Same for both IBM and SUN JVM (1.5)
Must be something simple cause didn't see any other complaints on this.
Any Ideas?

Thanks,
Doron
---------------------------------------------------------------
Detailed exception follows:
Extract jar:file:/D:/sft/solr/solr-nightly/example/webapps/solr.war!/ to
C:\DOCUME~1\tpowner\LOCALS~1\Temp\Jetty__8983__solr\webapp
14:38:10.769 WARN!! [main]
org.mortbay.xml.XmlParser$Handler.error(XmlParser.java:372) >31> ERROR@null
line:8 col:10 : org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the
declaration of element 'web-app'.
14:38:10.779 WARN!! [main]
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:519)
 >12> Configuration error on
jar:file:/D:/sft/solr/solr-nightly/example/webapps/solr.war!/
org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of
element 'web-app'.
        at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
        at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
        at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
        at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
        at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1944)
        at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:705)
        at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330)
        at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:779)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
        at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
        at org.mortbay.xml.XmlParser.parse(XmlParser.java:217)
        at org.mortbay.xml.XmlParser.parse(XmlParser.java:235)
        at
org.mortbay.jetty.servlet.XMLConfiguration.configureWebApp(XMLConfiguration.java:190)
        at
org.mortbay.jetty.servlet.WebApplicationContext.configureWebApp(WebApplicationContext.java:425)
        at
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:478)
        at org.mortbay.util.Container.start(Container.java:72)
        at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
        at org.mortbay.util.Container.start(Container.java:72)
        at org.mortbay.jetty.Server.main(Server.java:460)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.mortbay.start.Main.invokeMain(Main.java:151)
        at org.mortbay.start.Main.start(Main.java:476)
        at org.mortbay.start.Main.main(Main.java:94)
---------------------------------------------------------------


Mime
View raw message