FAQ"
From Documentation
Line 3: | Line 3: | ||
− | # '''InputAgent.type() works correctly on all components except '' | + | # <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> |
#: 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> | ||
+ | #: You need to provide your custom web.xml which contains Spring context listener configuration to run the test case. Please refer to [[ZATS Essentials/Mimic Library/Advanced Usage/Customize Test Environment#Custom WEB-INF Path| Custom WEB-INF Path]]. | ||
Revision as of 06:37, 1 November 2012
- 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.
- Why the unit test failed when start 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.
- 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.