You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <ji...@apache.org> on 2006/12/06 19:30:22 UTC
[jira] Commented: (DERBY-2153) suites.All falls over with
foundation after revision 482433; java.lang.NoClassFoundError:
javax.xml.parsers.DocumentBuilderFactory
[ http://issues.apache.org/jira/browse/DERBY-2153?page=comments#action_12456156 ]
Daniel John Debrunner commented on DERBY-2153:
----------------------------------------------
The code that uses DocumentBuilderFactory in junit.XML has this
Class.forName(DocumentBuilderFactory.newInstance().getClass().getName())
I think that could be simplified with:
DocumentBuilderFactory.newInstance().getClass()
and then reading the comments above this line, I wonder if this could have been used instead?
DocumentBuilderFactory.class
> suites.All falls over with foundation after revision 482433; java.lang.NoClassFoundError: javax.xml.parsers.DocumentBuilderFactory
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-2153
> URL: http://issues.apache.org/jira/browse/DERBY-2153
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.3.0.0
> Environment: IBM's wctme5.7 (a.k.a. j9) jcl Foundation libraries (j2MEjdk 1.0)
> Reporter: Myrna van Lunteren
> Assigned To: A B
>
> When attempting to run:
> <j9binpath>/j9 -jcl:foun10 -Dderby.system.home=<testhome> -DderbyTesting.serverhost=localhost -DderbyTesting.clienthost=localhost -DderbyTesting.codeclasses=file:/<classesdir>/ -DderbyTesting.junit=file://unused -DderbyTesting.antjunit=file://unused -Djava.security.policy=file:/<classesdir>/org/apache/derbyTesting/functionTests/util/derby_tests.policy -Xbootclasspath/a:<j9libpath>/jdbc.jar -cp <classesdir>;junit.jar junit.textui.TestRunner org.apache.derbyTesting.functionTests.suites.All
> The textui.TestRunner keels over with the following error:
> Failed to invoke suite():java.lang.NoClassDefFoundError: javax.xml.parsers.DocumentBuilderFactory
> This happens after, but not before revision 482433.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira