org.xml.sax.SAXParseException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Invalid content taglib
    via by Ekaterina Galkina,
  • SAX Error – Content is not allowed in prolog
    via by Unknown author,
  • RuntimeException during appliction Java mapping | SCN
    via by Unknown author,
  • UTF-8 BOM results in crash
    via GitHub by eed3si9n
    ,
  • Struts2 upgrade error
    via Stack Overflow by user373201
    ,
    • org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'. One of '{"http://java.sun.com/xml
    • s/j2ee":description, "http://java.sun.com/xml
    • s/j2ee":display-name, "http://java.sun.com/xml
    • s/j2ee":icon, "http://java.sun.com/xml
    • s/j2ee":distributable, "http://java.sun.com/xml
    • s/j2ee":context-param, "http://java.sun.com/xml
    • s/j2ee":filter, "http://java.sun.com/xml
    • s/j2ee":filter-mapping, "http://java.sun.com/xml
    • s/j2ee":listener, "http://java.sun.com/xml
    • s/j2ee":servlet, "http://java.sun.com/xml
    • s/j2ee":servlet-mapping, "http://java.sun.com/xml
    • s/j2ee":session-config, "http://java.sun.com/xml
    • s/j2ee":mime-mapping, "http://java.sun.com/xml
    • s/j2ee":welcome-file-list, "http://java.sun.com/xml
    • s/j2ee":error-page, "http://java.sun.com/xml
    • s/j2ee":jsp-config, "http://java.sun.com/xml
    • s/j2ee":security-constraint, "http://java.sun.com/xml
    • s/j2ee":login-config, "http://java.sun.com/xml
    • s/j2ee":security-role, "http://java.sun.com/xml
    • s/j2ee":env-entry, "http://java.sun.com/xml
    • s/j2ee":ejb-ref, "http://java.sun.com/xml
    • s/j2ee":ejb-local-ref, "http://java.sun.com/xml
    • s/j2ee":service-ref, "http://java.sun.com/xml
    • s/j2ee":resource-ref, "http://java.sun.com/xml
    • s/j2ee":resource-env-ref, "http://java.sun.com/xml
    • s/j2ee":message-destination-ref, "http://java.sun.com/xml
    • s/j2ee":message-destination, "http://java.sun.com/xml
    • s/j2ee":locale-encoding-mapping-list}' is expected. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) 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.eclipse.wst.server.preview.internal.PreviewStarter.run(PreviewStarter.java:116) at org.eclipse.wst.server.preview.internal.PreviewStarter.main(PreviewStarter.java:39)

    Users with the same issue

    chenjunjun
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Михайло Тітов
    1 times, last one,
    Victor_IT
    4 times, last one,
    39 more bugmates