You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nicolas De Loof <ni...@capgemini.com> on 2005/02/15 14:57:35 UTC

SAXNotRecognizedException running StrutsTestCase

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org