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

okky.kr | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    OKKY - Console Message인데 좀 봐주세요...

    okky.kr | 6 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

    Getting the Parser Error struts

    Coderanch | 9 years ago | ishmayel vemuru
    org.xml.sax.SAXParseException: The content of element type "action-mappings" must match "(action)*".
  3. 0

    Struts 1 forwards path with parameters

    Stack Overflow | 1 year ago | Franco Gimenez
    org.xml.sax.SAXParseException: La referencia a la entidad "addReferal" debe terminar con el delimitador ';'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SAXParseException (global-forwards) in WAS7 using struts 1.1

    Coderanch | 5 years ago | Christian Asencio
    org.xml.sax.SAXParseException: The content of element type "global-forwards" must match "(forward)*".
  6. 0

    web.xml / faces-config.xml configuration issues

    Stack Overflow | 4 years ago | Glenninator
    org.xml.sax.SAXParseException: Document is invalid: no grammar found.

  1. musketyr 2 times, last 1 month ago
  2. jpvee 5 times, last 3 months ago
8 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
    SAXParserImpl$JAXPSAXParser.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)
    14. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    14 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:1006)
    2. org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
    3. org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    3 frames
  5. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:212)
    1 frame
  6. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
    2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
    3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
    4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
    5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    6. org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
    7. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    8. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    9. org.apache.catalina.core.StandardService.start(StandardService.java:448)
    10. org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    11. org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    11 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  8. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    2 frames