Title: RE: I meant org/apache/cactus/AbstractTestCase RE: Where did org.apache.cactus.ServletTestCase go?

 Vincent,

I think what caused the issue was thet I have a wrapper around ServletTestCase that I use to reset the database using DBUnit.  It was compiled against 1.4.1.  Therefore, I think when I used it with the new cactus plugin with 1.5.1, it somehow still wanted 1.4.1?  What was strange, was if I included the 1.4.1 jars in my project.xml, then everything worked..

At any rate, I have recompiled my wrapper, and it seems okay now..

Eric Pugh

-----Original Message-----
From: Vincent Massol
To: 'Cactus Users List'
Sent: 7/8/03 9:15 AM
Subject: RE: I meant org/apache/cactus/AbstractTestCase RE: Where did org.apache.cactus.ServletTestCase go?

This is a class that did exist in 1.4.1 but which has been replaced by
AbstractWebServerTestCase in Cactus 1.5.

However, I don't understand how this could be an issue if you're using
Maven as the packaged Cactus contains the correct class. Does it mean
you were directly using AbstractTestCase instead �of
ServletTestCase/JspTestCase or FilterTestCase?

Thanks

-Vincent

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 08 July 2003 14:41
To: [EMAIL PROTECTED]
Subject: I meant org/apache/cactus/AbstractTestCase RE: Where did
org.apache.cactus.ServletTestCase go?

I'm sorry, I meant to say in my email�
org/apache/cactus/AbstractTestCase....� It doesn't seem to appear
anywhere.�

Where I see this is in using Maven which uses the new jars:
cactus-13-1.5dev-20030619 and cactus-ant-13-1.5dev-20030619...�

below is my error:

�[cactus]
-----------------------------------------------------------------
�[cactus] Running tests against Tomcat 4.1.24
�[cactus]
-----------------------------------------------------------------
�[cactus] java.lang.NoClassDefFoundError:
org/apache/cactus/AbstractTestCase
�[cactus]��� at java.lang.Class.forName0(Native Method)
�[cactus]��� at java.lang.Class.forName(Class.java:140)
�[cactus]��� at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
it>(JUnitTestRunner.java:237)
�[cactus]��� at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
it>(JUnitTestRunner.java:210)
�[cactus]��� at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
n(JUnitTestRunner.java:532)
�[cactus] Exception in thread "main"
�[cactus] [ERROR] TEST
com.upstate.kinaseprofiler.bizobj.DaughterboardManager
t FAILED
�[cactus] java.lang.NoClassDefFoundError:
org/apache/cactus/AbstractTestCase
�[cactus]��� at java.lang.Class.forName0(Native Method)
�[cactus]��� at java.lang.Class.forName(Class.java:140)
�[cactus]��� at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.

Reply via email to