Hello,

I'm using StrutsTestCase to run tests on my Struts Actions. I'm trying to make them run in maven build.

The test runs fien under Eclipse, but fails under maven with a strange exception :
[junit] 14:44:06,785 ERROR [Digester] Digester.getParser:
[junit] org.xml.sax.SAXNotRecognizedException: Feature: http://apache.org/xml/features/validation/dynamic
[junit] at org.apache.crimson.parser.XMLReaderImpl.setFeature(XMLReaderImpl.java:213)
[junit] at org.apache.crimson.jaxp.SAXParserImpl.setFeatures(SAXParserImpl.java:143)
[junit] at org.apache.crimson.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:126)


By setting logs to debug, it seems to fail parsing Struts config file (digester has parsed web.xml prior) :
...
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:736)



Is they're something special to know about XML parser usage in maven ?

Nico.



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to