-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi, I'm trying to follow tutorial but I'm getting such exception
java.lang.VerifyError: class org.zkoss.zats.mimic.impl.emulator.EmulatorBuilder$WebWebInfResource overrides final method release.()V at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.zkoss.zats.mimic.DefaultZatsEnvironment.init(DefaultZatsEnvironment.java:82) at org.zkoss.zats.mimic.Zats.init(Zats.java:46)
Can anyone help me with this? Any suggestions are welcome because there are no reference how to solve this problem in google. Here are dependency that I use
compile group: 'org.zkoss.zk', name: 'zkbind', version: '7.0.1' compile group: 'org.zkoss.zk', name: 'zul', version: '7.0.1' compile group: 'org.zkoss.zk', name: 'zkplus', version: '7.0.1' compile group: 'org.zkoss.zk', name: 'zhtml', version: '7.0.1' testCompile group: 'junit', name: 'junit', version: '4.11' testCompile group: 'org.zkoss.zats', name: 'zats-mimic-ext7', version: '1.2.0'
UPD: I find out that this problem associated with Jetty version that I use, it's 9.1.3 but ZATS is depends on 7.6 So, now is the question - how can I update Jetty version for ZATS ?
Hello gristle,
Please perform the following tasks, in order to use zats:
http://books.zkoss.org/wiki/ZATS%20Essentials/Getting%20Started/Setup
Add the latest version of jetty (mine is version: jetty-7.6.2.v20120308)
Use the following example:
http://books.zkoss.org/wiki/ZATS%20Essentials/Getting%20Started/First%20Mimic%20Test%20Case/JUnit%20Example
Best Regards,
Darksu
SEVERE: org.mozilla.javascript.Parser: method <init>()V not found java.lang.NoSuchMethodError: org.mozilla.javascript.Parser: method <init>()V not found
Asked: 2014-04-03 10:11:35 +0800
Seen: 29 times
Last updated: Dec 28 '18
ZATS: Error 500 when connecting to ZUL due to missing class org.zkoss.xel.zel.XelELResolver
ZATS DesktopAgent.query not working with id's
ZATS: NoSuchMethodError getContextPath()
ZATS Mimic - Replacing Server Emulator (Jetty Lite) with Glassfish
ZATS does not work with combobox MVVM @save
I'm getting the same problem, my code relies on servlet-api 3.0 and I need Jetty 9 for testing, but ZATS can't startup with Jetty 9, so I can't unit test my code :-(
pentavalle ( 2014-06-04 10:27:13 +0800 )edit