org.xml.sax.SAXParseException: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".

developpez.net | 7 months 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

    probleme acces a ma base de donnees

    developpez.net | 7 months ago
    org.xml.sax.SAXParseException: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
  2. 0

    Not able to Access the Remote EJB component

    Oracle Community | 10 years ago | 843830
    org.xml.sax.SAXParseException: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
  3. 0

    Struts war deploy problem

    Coderanch | 1 decade ago | shailesh kumar
    org.xml.sax.SAXParseException: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-map pings?,controller?,message-resources*,plug-in*)".
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Struts mapping exception

    Stack Overflow | 4 years ago | 123Ex
    org.xml.sax.SAXParseException: The content of element type "action-mappings" must match "(action)*".
  6. 0

    Configure data-sources in struts-config.xml - version 1.3.8 - Apache: Jakarta - Tek-Tips

    tek-tips.com | 7 months ago
    org.xml.sax.SAXParseException: Element type "data-sources" must be declared.

  1. rp 1 times, last 4 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 "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".

    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException()
  2. Xerces2-j
    AbstractSAXParser.parse
    1. org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    2. org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
    3. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    4. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    5. org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
    6. org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
    7. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
    8. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    9. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    10. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    11. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    12. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    13. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    13 frames
  3. Commons Digester
    Digester.parse
    1. org.apache.commons.digester.Digester.parse(Digester.java:1548)
    1 frame
  4. struts
    ActionServlet.init
    1. org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:708)
    2. org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:670)
    3. org.apache.struts.action.ActionServlet.init(ActionServlet.java:329)
    3 frames
  5. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:211)
    1 frame
  6. Glassfish Core
    StandardContext.reload
    1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
    2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
    3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
    4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
    5. org.apache.catalina.core.StandardContext.reload(StandardContext.java:3043)
    5 frames
  7. org.apache.catalina
    HTMLManagerServlet.doGet
    1. org.apache.catalina.manager.ManagerServlet.reload(ManagerServlet.java:1014)
    2. org.apache.catalina.manager.HTMLManagerServlet.reload(HTMLManagerServlet.java:476)
    3. org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:98)
    3 frames
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    2 frames
  9. Glassfish Core
    ContainerBase.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    4. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    6. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    8. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    9. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
    10. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    11. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    12. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    13. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    14. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    15. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    16. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    17. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    18. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    19. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    20. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    20 frames
  10. org.apache.coyote
    CoyoteAdapter.service
    1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    1 frame
  11. Grizzly HTTP
    TcpWorkerThread.runIt
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    3. org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    3 frames
  12. Tomcat Util
    ThreadPool$ControlRunnable.run
    1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    1 frame
  13. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:595)
    1 frame