You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Boris Boehlen (JIRA)" <ji...@codehaus.org> on 2005/10/24 16:49:11 UTC

[jira] Updated: (MNG-1303) Parsing XML document commons-digester fails in testcase

     [ http://jira.codehaus.org/browse/MNG-1303?page=all ]

Boris Boehlen updated MNG-1303:
-------------------------------

    Attachment: my-app.zip

Most simple test case based upon what "archetype:create" creates for you.

Only shows the error!

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