How is the thread context classloader determined for surefire test execution?

I have a unit test that needs to parse an XML file, but it fails to
initialize the SAXParserFactory, even though the following section is
present in pom.xml...

    <dependency>
      <groupId>xerces</groupId>
      <artifactId>xercesImpl</artifactId>
      <version>2.6.2</version>
      <scope>test</scope>
    </dependency>

During test execution, the following exception occurs...

javax.xml.parsers.FactoryConfigurationError: Provider for
javax.xml.parsers.SAXParserFactory can not be found
        at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)

Kind Regards,
John Fallows.

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

Reply via email to