jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaidya, Supriya A (US - Chicago)" <supriyavai...@deloitte.com>
Subject RE: URGENT: Unable to run test cases in SwingUI
Date Thu, 21 Jun 2007 17:44:54 GMT
Thanks Dheerendra! However, I am deploying my application in an exploded
format. I find that unless I extract all the classes of cactus-1.7.2.jar
into WEB-INF/classes, the application is not able to find it... What
does it mean if my application cannot find the jar during runtime (after
it, it compiles fine and is able to run this test on the server), but
can find the associated classes if I put them into WEB-INF/classes? I
tried putting the .jar directly into WEB-INF/classes, but that didn't
work either (I know - dumb idea! :) )


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 


-----Original Message-----
From: Dheerendra Kulkarni [mailto:dheerendra@gmail.com] 
Sent: Wednesday, June 20, 2007 11:08 PM
To: Cactus Users List
Subject: Re: URGENT: Unable to run test cases in SwingUI

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]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org


Mime
View raw message