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*)".

theserverside.com | 3 months ago
  1. 0

    Struts name with type problem !!!!!!!!!!!!!!!!!!

    theserverside.com | 3 months ago
    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*)".
  2. 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*)".
  3. 0

    Struts mapping exception

    Stack Overflow | 3 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

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

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

    trying to validate struts-config.xml - Genuitec

    genuitec.com | 1 year 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*)”.

    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-map pings?,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.DTDConfiguration.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:1562)
      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:256)
      1 frame
    6. Glassfish Core
      Catalina.process
      1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
      2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
      3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3427)
      4. org.apache.catalina.core.StandardContext.start(StandardContext.java:3628)
      5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
      6. org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
      7. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
      8. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
      9. org.apache.catalina.core.StandardService.start(StandardService.java:497)
      10. org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
      11. org.apache.catalina.startup.Catalina.start(Catalina.java:512)
      12. org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
      13. org.apache.catalina.startup.Catalina.process(Catalina.java:180)
      13 frames
    7. 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
    8. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
      1 frame