cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@indexgeo.com.au>
Subject "build test" now fails with NoClassDefFoundError
Date Thu, 17 Jan 2002 08:23:07 GMT
I was preparing to tidy up some of the new JUnit test cases
to be ready for the upcoming release. However it now fails
some tests, which recently were fine.

(Many thanks to Bernhard for getting some automated tests
started. They helped immensely to prove some bugs solved.)

I wonder if the confused classes problem is to do with the
recent re-arrangement of libs.

Here is the trimmed log ...
--------------
Running org.apache.cocoon.environment.commandline.test.CommandLineContextTestCase
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/log/format/Formatter
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:171)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:156)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:407)
TEST org.apache.cocoon.environment.commandline.test.CommandLineContextTestCase FAILED
...
Running org.apache.cocoon.util.test.IOUtilsTestCase
Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.631 sec
...
Running org.apache.cocoon.util.test.NetUtilsTestCase
Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.133 sec
...
Running org.apache.cocoon.util.IOUtilsTest
Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.44 sec
...
Running org.apache.cocoon.components.resolver.test.ResolverImplTestCase
Exception in thread "main" java.lang.NoClassDefFoundError:
 org/apache/avalon/excalibur/testcase/ExcaliburTestCase
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
...
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:407)
TEST org.apache.cocoon.components.resolver.test.ResolverImplTestCase FAILED
--------------


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message