I was getting a same error for my test servlet. It was because my
testServlet was not defined in the Server's classpath, the manner it was
expecting.
On Win2000 my class files were c:
\myProject\webAppliation\WEB-INF/classes/com/mycompany/test. but the server
wanted a class path of c:\myProject\webAppliation\WEB-INF/classes Hope
this helps.
Vishal Kumar
Singh To: Cactus Users List
<[EMAIL PROTECTED]>
<vishalkr@cisco. cc: (bcc: Arthur
Jasso/MIS/OPS/HMC)
com> Fax to:
Subject: Re: problem using
CactusStrutsTestCase
04/08/2002 04:53
AM
Please respond
to "Cactus Users
List"
The problem of compilation has solved as I got a distribution of cactus
which had
the package structure as required by CactusStrutsTest.jar .
But Now , I face a different problem :
It compiled properly , but, while execution gave the following error :
I am following the same approach of executing test cases as I was doing
with
MockStrutsTestCase.
/**************************ERROR*********************************/
.log4j:ERROR No appenders could be found for category
(com.cisco.nm.uii.example.
actionform.TestPTFindPhonesAction).
log4j:ERROR Please initialize the log4j system properly.
E
Time: 0.631
There was 1 error:
1)
testPTFindPhonesResult(com.cisco.nm.uii.example.actionform.TestPTFindPhonesAc
tion)
java.lang.ExceptionInInitializerError: java.util.MissingResourceException:
Can't
find bundle for base name cactus, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(Unknown
Source
)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at
org.apache.cactus.client.AbstractHttpClient.<clinit>(AbstractHttpClie
nt.java:88)
at
org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:130)
at
org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:371)
/*****************************************************************/
regards
Vishal
Vishal Kumar Singh wrote:
--
To unsubscribe, e-mail: <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>