ZATS VerifyError

asked 2014-04-03 10:11:35 +0800

gristle gravatar image gristle
1 1

updated 2014-04-03 12:54:07 +0800

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 ?

delete flag offensive retag edit


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

2 Answers

Sort by ยป oldest newest most voted

answered 2014-08-31 10:36:29 +0800

Darksu gravatar image Darksu
1991 1 4

Hello gristle,

Please perform the following tasks, in order to use zats:

  • In your pom.xml file add the necessary dependencies as shown in the link below:


  • Add the latest version of jetty (mine is version: jetty-7.6.2.v20120308)

  • Use the following example:


  • And finally run the junit test

Best Regards,


link publish delete flag offensive edit

answered 2018-12-28 03:56:39 +0800

joredva gravatar image joredva

SEVERE: org.mozilla.javascript.Parser: method <init>()V not found java.lang.NoSuchMethodError: org.mozilla.javascript.Parser: method <init>()V not found

link publish delete flag offensive edit


Please provide info / steps on what you have tried that led to this error so others can try to help.

jeanher ( 2018-12-28 10:19:01 +0800 )edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2014-04-03 10:11:35 +0800

Seen: 28 times

Last updated: Dec 28 '18

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More