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

John Casey commented on MNG-1303:
---------------------------------

committed version of IsolatedClassLoader with loadClass(..) impl commented out, 
and new constructor allowing a parent ClassLoader. This works for this test 
case, but since it dramatically changes the classloading strategy for surefire, 
I wanted jason to take a look at it.

> surefire should include bootclasspath when running tests
> --------------------------------------------------------
>
>          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]

Reply via email to