jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 鸣凤 翟 <sevenseeds2...@yahoo.com.cn>
Subject Missing Cactus property
Date Tue, 20 Jul 2004 10:03:28 GMT
Hi all,
I write a Test Case that based on CactusStrutsTestCase to test my webapp. the webapp's name
is Davinci. the cactus.property file is under "Davinci\src\src\"  how can I do to avoid the
following error?
  
 
org.apache.cactus.util.ChainedRuntimeException: Missing Cactus property [cactus.contextURL]
 at org.apache.cactus.configuration.BaseConfiguration.getContextURL(BaseConfiguration.java:114)
 at org.apache.cactus.configuration.AbstractWebConfiguration.getRedirectorURL_aroundBody0(AbstractWebConfiguration.java:85)
 at org.apache.cactus.configuration.AbstractWebConfiguration.getRedirectorURL_aroundBody1$advice(AbstractWebConfiguration.java:222)
 at org.apache.cactus.configuration.AbstractWebConfiguration.getRedirectorURL(AbstractWebConfiguration.java)
 at org.apache.cactus.client.connector.http.DefaultHttpClient.callRunTest(DefaultHttpClient.java:197)
 at org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundBody0(DefaultHttpClient.java:119)
 at org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundBody1$advice(DefaultHttpClient.java:222)
 at org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java)
 at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWebTest(WebClientTestCaseDelegate.java:333)
 at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericTest(WebClientTestCaseDelegate.java:281)
 at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest(WebClientTestCaseDelegate.java:257)
 at org.apache.cactus.ServletTestCase.runCactusTest(ServletTestCase.java:300)
 at org.apache.cactus.ServletTestCase.runBare(ServletTestCase.java:263)
 at junit.framework.TestResult$1.protect(TestResult.java:106)
 at junit.framework.TestResult.runProtected(TestResult.java:124)
 at junit.framework.TestResult.run(TestResult.java:109)
 at junit.framework.TestCase.run(TestCase.java:118)
 at junit.framework.TestSuite.runTest(TestSuite.java:208)
 at junit.framework.TestSuite.run(TestSuite.java:203)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)
 
Thanks very much!
-Ming



---------------------------------
Do You Yahoo!?
美女明星应有尽有,"一搜"搜遍美图、艳图和酷图
100兆邮箱够不够用?雅虎电邮自助扩容!
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message