• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SAX parser exception

 
kiran raj
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
when my server starts, the following exception is encountered.plz help

[11/14/05 16:07:14:725 IST] 4fa324d4 Digester E org.apache.commons.digester.Digester Parse Error at line 9130 column 20: The content of element type "action-mappings" must match "(action)*".

[11/14/05 16:07:14:741 IST] 4fa324d4 Digester E org.apache.commons.digester.Digester TRAS0014I: The following exception was logged org.xml.sax.SAXParseException: The content of element type "action-mappings" must match "(action)*".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232)
at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:173)
at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:362)


ANY CLUE?
 
Vasudhaiv Naresh
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kiran!
It seems that your struts-config.xml file does not follow the DTD.
According to the DTD for struts configuration:
The "action-mappings" tag must have an "action" sub-tag.
According to the error posted by you, it seems that there's something wrong in the configuration file, it would be better if you post your struts-config file.
Regards,
Naresh
 
kiran raj
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Naresh,
thanks for the response. My struts config is too big to copy paste here. Its more than 10000 lines. Is there any obvious mistake that I made in that?
I closed the form-bean tags, action-mapping tags, action tags.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic