org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributa ble?,context-param\*,filter\*,filter-mapping\*,listener\*,servlet\*,servlet-mapping\*,session-config?,mime-mapping\*,welcome-file-li st?,error-page\*,taglib\*,resource-env-ref\*,resource-ref\*,security-constraint\*,login-config?,security-role\*,env-entry\*,ejb-ref\* ,ejb-local-ref\*)".

compiere | fung | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error in running RUN_Server2.bat

    compiere | 1 decade ago | fung
    org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributa ble?,context-param\*,filter\*,filter-mapping\*,listener\*,servlet\*,servlet-mapping\*,session-config?,mime-mapping\*,welcome-file-li st?,error-page\*,taglib\*,resource-env-ref\*,resource-ref\*,security-constraint\*,login-config?,security-role\*,env-entry\*,ejb-ref\* ,ejb-local-ref\*)".
  2. 0

    web.xml / XML schema issue, why do some XML schema attributes disappear

    Google Groups | 1 decade ago | asciz
    org.xml.sax.SAXParseException: Attribute "xmlns" must be declared for element type "web-app".
  3. 0

    Struts mapping exception

    Stack Overflow | 4 years ago | 123Ex
    org.xml.sax.SAXParseException: The content of element type "action-mappings" must match "(action)*".
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    column header not visible in output

    Stack Overflow | 5 years ago | MPA
    net.sf.jasperreports.engine.JRException: Document root element "jasperReport", must match DOCTYPE root "null".
  6. 0

    SAXParseException: 'Attribute "" bound to namespace "null" was already specified for element "metric"'

    Stack Overflow | 7 years ago | Steve Bosman
    org.xml.sax.SAXParseException: Attribute "" bound to namespace "null" was already specified for element "metric".

  1. rp 1 times, last 2 months ago
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.xml.sax.SAXParseException

    The content of element type "web-app" must match "(icon?,display-name?,description?,distributa ble?,context-param\*,filter\*,filter-mapping\*,listener\*,servlet\*,servlet-mapping\*,session-config?,mime-mapping\*,welcome-file-li st?,error-page\*,taglib\*,resource-env-ref\*,resource-ref\*,security-constraint\*,login-config?,security-role\*,env-entry\*,ejb-ref\* ,ejb-local-ref\*)".

    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException()
  2. Xerces2-j
    AbstractSAXParser.parse
    1. org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232)
    2. org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:173)
    3. org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:362)
    4. org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:296)
    5. org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2959)
    6. org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:918)
    7. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1145)
    8. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:988)
    9. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1446)
    10. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
    11. org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:529)
    12. org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:585)
    13. org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
    14. org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1148)
    14 frames
  3. Commons Digester
    Digester.parse
    1. org.apache.commons.digester.Digester.parse(Digester.java:1548)
    1 frame
  4. org.jboss.web
    SingleSignOnContextConfig.lifecycleEvent
    1. org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.applicationConfig(SingleSignOnContextConfig.java:299)
    2. org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.start(SingleSignOnContextConfig.java:741)
    3. org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.lifecycleEvent(SingleSignOnContextConfig.java:255)
    3 frames
  5. Glassfish Core
    StandardHost.addChild
    1. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:3582)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    5 frames
  6. org.jboss.web
    EmbeddedTomcatService.performDeploy
    1. org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:549)
    2. org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:309)
    2 frames
  7. JBoss Application Server Server
    AbstractWebContainer.start
    1. org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428)
    1 frame
  8. JBoss Application Server System JMX
    MainDeployer.deploy
    1. org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
    2. org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
    3. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
    4. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
    4 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:324)
    3 frames
  10. org.jboss.mx
    ReflectedMBeanDispatcher.invoke
    1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    1 frame
  11. JBoss Application Server J2SE
    MBeanProxyExt.invoke
    1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    2. org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    2 frames
  12. Unknown
    $Proxy6.deploy
    1. $Proxy6.deploy(Unknown Source)
    1 frame
  13. org.jboss.deployment
    AbstractDeploymentScanner.startService
    1. org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
    2. org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
    3. org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
    4. org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
    4 frames
  14. JBoss Application Server System
    ServiceMBeanSupport.start
    1. org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
    1 frame
  15. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:324)
    3 frames
  16. org.jboss.mx
    ReflectedMBeanDispatcher.invoke
    1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    1 frame
  17. JBoss Application Server J2SE
    MBeanServerImpl.invoke
    1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    1 frame
  18. JBoss Application Server System
    ServiceController$ServiceProxy.invoke
    1. org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
    1 frame
  19. Unknown
    $Proxy0.start
    1. $Proxy0.start(Unknown Source)
    1 frame
  20. JBoss Application Server System
    ServiceController.start
    1. org.jboss.system.ServiceController.start(ServiceController.java:394)
    1 frame
  21. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:324)
    3 frames
  22. org.jboss.mx
    ReflectedMBeanDispatcher.invoke
    1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    1 frame
  23. JBoss Application Server J2SE
    MBeanProxyExt.invoke
    1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    2. org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    2 frames
  24. Unknown
    $Proxy4.start
    1. $Proxy4.start(Unknown Source)
    1 frame
  25. JBoss Application Server System JMX
    MainDeployer.deploy
    1. org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
    2. org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
    3. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
    4. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
    5. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
    5 frames
  26. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:324)
    4 frames
  27. org.jboss.mx
    ReflectedMBeanDispatcher.invoke
    1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    1 frame
  28. JBoss Application Server J2SE
    MBeanProxyExt.invoke
    1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    2. org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    2 frames
  29. Unknown
    $Proxy5.deploy
    1. $Proxy5.deploy(Unknown Source)
    1 frame
  30. JBoss Application Server System JMX
    ServerImpl.start
    1. org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
    2. org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
    2 frames
  31. JBoss Application Server Server
    Main$1.run
    1. org.jboss.Main.boot(Main.java:150)
    2. org.jboss.Main$1.run(Main.java:395)
    2 frames
  32. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:534)
    1 frame