Hello!
C:\bea\jdk131_06\bin>java -classpath "C:\CactusProject\HelloWorld\classes;C:\bea
\weblogic700\server\lib\weblogic.jar;C:\bea\weblogic700\server\lib\webservices.j
ar;C:\JBuilder9\thirdparty\jakarta-cactus-13-1.3\lib\commons-httpclient-20020421
.jar;C:\JBuilder9\thirdparty\jakarta-cactus-13-1.3\lib\aspectjrt.jar;C:\JBuilder
9\thirdparty\jakarta-cactus-13-1.3\lib\cactus.jar;C:\JBuilder9\thirdparty\jakart
a-cactus-13-1.3\lib\log4j-1.2rc1.jar;C:\JBuilder9\thirdparty\junit3.8\junit.jar;
C:\JBuilder9\lib\unittest.jar;C:\bea\weblogic700\samples\server\config\examples\
examplesServer\upload\HelloWorld\HelloWorld.jar;" junit.swingui.TestRunner.main
HelloWorldCactusTest
Exception in thread "main" java.lang.NoClassDefFoundError: junit/swingui/TestRun
ner/main
I don not understand why I am gettin this error.... Can any one please tell me what is happening
Little History.....
I have deployed my HelloWorld ejb jar and HelloWorld webapp war file , which has my cactus test in weblogic app server. It runs fine from IDE(Jbuilder), from Browser. But I need to run the test from Commandline. I am not familiar with ANT , So I ran my test like this.....
java -classpath "C:\CactusProject\HelloWorld\classes;C:\bea\weblogic700\server\lib\weblogic.jar;C:\bea\weblogic700\server\lib\webservices.jar;C:\JBuilder9\thirdparty\jakarta-cactus-13-1.3\lib\commons-httpclient-20020421.jar;C:\JBuilder9\thirdparty\jakarta-cactus-13-1.3\lib\aspectjrt.jar;C:\JBuilder9\thirdparty\jakarta-cactus-13-1.3\lib\cactus.jar;C:\JBuilder9\thirdparty\jakarta-cactus-13-1.3\lib\log4j-1.2rc1.jar;C:\JBuilder9\thirdparty\junit3.8\junit.jar;C:\JBuilder9\lib\unittest.jar;C:\bea\weblogic700\samples\server\config\examples\examplesServer\upload\HelloWorld\HelloWorld.jar;" helloworld.HelloWorldCactusTest
This runs fine too... But the website says that
The website says that I should have the following
- your Cactus test classes,
- the Cactus jar,
- the Servlet API jar. This is needed because the
ServletTestCaseandJspTestCaseclasses use server objects.- the
cactus.propertiesCactus configuration file,- the JUnit jar,
In order for me run the cactus client from command line. It takes more than that..... Where can I find documentation to run the ccatus client from command line
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
