jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dheerendra Kulkarni" <dheeren...@gmail.com>
Subject Re: URGENT: Unable to run test cases in SwingUI
Date Thu, 21 Jun 2007 04:07:46 GMT
Your deployed jar must also contain Cactus.jar

regards
Dheerendra

On 6/21/07, Vaidya, Supriya A (US - Chicago) <supriyavaidya@deloitte.com> wrote:
> Hi:
>
> I have been running my test suites from within Eclipse IDE, and when I
> run them as a JUnit test case, or a ServletTestCase, they work fine.
> However, my company now wants me to be able to execute these test cases
> from within a server, where Eclipse is not installed. I therefore am
> trying to use the junit.swingui.TestRunner.main method.. however, I
> constantly receive the: java.lang.NoClassDefFoundError:
> org/apache/cactus/ServletTestCase. I have verified that cactus-1.7.2.jar
> is in teh classpath (and I can see the class in the jar!!). I have
> verified that junit-3.8.1.jar is also in the classpath.
>
> What am I doing wrong?
>
>
> Supriya A Vaidya
> Technology Integration
> Deloitte Consulting LLP
> Tel: +1 312 486 4835
> Fax: +1 312 247 4835
> Mobile: + 1 414 736 8157
> www.deloitte.com <http://www.deloitte.com/>
>
>
> This message (including any attachments) contains confidential information intended for
a specific individual and purpose, and is protected by law.  If you are not the intended recipient,
you should delete this message.
>
>
> Any disclosure, copying, or distribution of this message, or the taking of any action
based on it, is strictly prohibited. [v.E.1]
>

Mime
View raw message