[ http://jira.codehaus.org/browse/MNG-1303?page=comments#action_49361 ]
Lester Ecarma commented on MNG-1303: ------------------------------------ I think you just need to include a XML parser engine to your build. commons-digester does not include a jaxp implementation library in its dependency list. For example, try adding to your pom something like <dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <version>2.6.2</version> </dependency> > Parsing XML document commons-digester fails in testcase > ------------------------------------------------------- > > Key: MNG-1303 > URL: http://jira.codehaus.org/browse/MNG-1303 > Project: Maven 2 > Type: Bug > Components: maven-surefire-plugin > Versions: 2.0 > Environment: commons-digester 1.7; JDK 1.5.0_05 > Reporter: Boris Boehlen > Attachments: my-app.zip > > > I use the common-digester to parse a configuration file. When I do this in a > test case I get the following error. > javax.xml.parsers.FactoryConfigurationError: Provider for > javax.xml.parsers.SAXParserFactory cannot be found > at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source) > at org.apache.commons.digester.Digester.getFactory(Digester.java:490) > at org.apache.commons.digester.Digester.getParser(Digester.java:693) > at > org.apache.commons.digester.Digester.getXMLReader(Digester.java:899) > at org.apache.commons.digester.Digester.parse(Digester.java:1704) > at > i3.grasgxl.core.ConfigurationLoader.load(ConfigurationLoader.java:107) > Worked properly with Maven 1. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]