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