Grails ZK Firsttime compilation Issue

10 views
Skip to first unread message

karthic subramanian

unread,
Jun 19, 2014, 5:56:35 AM6/19/14
to grails-de...@googlegroups.com

Hi


I migrated our current application to grails 2.3.7 and migrated zk plugin grails version as well to 2.4.0. After I add the dependency at the app as compile "zk:2.4.0" in BuildConfig.groovy. First time compilation throws the following error message ..Fatal error during compilation java.lang.NoClassDefFoundError: org/zkoss/zk/ui/util/Composer java.lang.NoClassDefFoundError: org/zkoss/zk/ui/util/Composer 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 java.lang.ClassLoader.loadClass(ClassLoader.java:412)

This error goes away if I recompile the application again. Not sure why it throws compilation issue for the first time compilation after installing the zk plugin 2.4.0 for the first time.

Please provide your thoughts.

thanks, Karthick

Reply all
Reply to author
Forward
0 new messages