FAQ"

From Documentation
Line 5: Line 5:
 
# <div style="font-family:Verdana"> '''InputAgent.type() works correctly on all components except ''Datebox'' and ''Timebox'' in ZK 6 based project?'''</div>
 
# <div style="font-family:Verdana"> '''InputAgent.type() works correctly on all components except ''Datebox'' and ''Timebox'' in ZK 6 based project?'''</div>
 
#: Check if '''zats-mimic-ext6.jar''' exists in your project's classpath. If your project depends on ZK 6, you should include that jar.
 
#: Check if '''zats-mimic-ext6.jar''' exists in your project's classpath. If your project depends on ZK 6, you should include that jar.
# <div style="font-family:Verdana"> '''Why the unit test failed when start up and occurred "NoSuchMethodError" or "ClassNotFoundException" on javax.servlet.xxx?''' </div>
+
# <div style="font-family:Verdana"> '''Why a unit test failed when starting up and occurred "NoSuchMethodError" or "ClassNotFoundException" on javax.servlet.xxx?''' </div>
 
#: ZATS mimic uses (lite version) Jetty server to emulate whole environment of servlet container for testing. If your class path contains any servlet.jar, it will cause Jetty server to load wrong servlet.jar. You should exclude any servlet.jar from your class path when you running ZATS mimic test.
 
#: ZATS mimic uses (lite version) Jetty server to emulate whole environment of servlet container for testing. If your class path contains any servlet.jar, it will cause Jetty server to load wrong servlet.jar. You should exclude any servlet.jar from your class path when you running ZATS mimic test.
 
# <div style="font-family:Verdana"> ''' Why my composer or zul cannot get Spring beans?''' </div>
 
# <div style="font-family:Verdana"> ''' Why my composer or zul cannot get Spring beans?''' </div>

Revision as of 03:23, 2 April 2014



  1. InputAgent.type() works correctly on all components except Datebox and Timebox in ZK 6 based project?
    Check if zats-mimic-ext6.jar exists in your project's classpath. If your project depends on ZK 6, you should include that jar.
  2. Why a unit test failed when starting up and occurred "NoSuchMethodError" or "ClassNotFoundException" on javax.servlet.xxx?
    ZATS mimic uses (lite version) Jetty server to emulate whole environment of servlet container for testing. If your class path contains any servlet.jar, it will cause Jetty server to load wrong servlet.jar. You should exclude any servlet.jar from your class path when you running ZATS mimic test.
  3. Why my composer or zul cannot get Spring beans?
    You need to provide your custom web.xml which contains Spring context listener configuration to run the test case. Please refer to Custom WEB-INF Path.





Last Update : 2014/04/02

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.