Hi Heikki,
ServletTestResult has never been a public API that you use in your tests. It
has been renamed internally to WebTestResult but you shouldn't care. If you
have a problem of class not found, it simply means that you are mixing the
jars from Cactus 1.1 with those from 1.2 in your classpath (either client
side or server side).
Thanks
-Vincent
----- Original Message -----
From: Heikki Doeleman
To: '[EMAIL PROTECTED]'
Sent: Friday, September 21, 2001 11:44 AM
Subject: RE: Sample application in nightly build
Hi,
I not only installed the newer distribution jar, but also the newer sample
app, where all package names have already been updated.
The funny thing is that if I do a search on files containing text or being
named ServletTestResult, the only places it is found are the old
commons-cactus.jar files. And neither in Cactus files nor in our web app do
I find any references to the file ServletTestResult. But I do get that
ClassNotFoundException ..
Thanks
Heikki
-----Original Message-----
From: Rakesh Bhalla [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 21, 2001 12:34 PM
To: [EMAIL PROTECTED]
Subject: Re: Sample application in nightly build
Hello,
--- Heikki Doeleman <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have tried installing Cactus 1.2 from the nightly build download
> (jakarta-cactus-22-20010919.zip). However, trying to run the sample
> app,
> starting the TestAll class, all tests fail with errors like
>
> java.lang.ClassNotFoundException:
> org.apache.commons.cactus.ServletTestResult
Cactus 1.1 had all its packages and classes as the following tree:
org.apache.commons.cactus.*
org.apache.commons.cactus.util.* ... etc.
from Cactus 1.2 onwards it has been changed to
org.apache.cactus.*
org.apache.cactus.util.* ... etc.
Please note the missing 'commons' there. So try opening up the source
file again that you mentioned and make the package change mentioned
above and let us know what happened next.
=====
Thanks.
Rakesh Bhalla.
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/