1

java.lang.ClassNotFoundException: org.zkoss.zk.au.http.AuProcessor

asked 2014-04-14 09:22:34 +0800

aloulen gravatar image aloulen
75 5

updated 2014-04-14 09:45:04 +0800

chillworld gravatar image chillworld flag of Belgium
5322 4 9
https://github.com/chillw...

Please Help me I receive this error when I deploy my project I use Zk 7.0.1

08:36:05.093 [localhost-startStop-1] ERROR org.zkoss.zk.ui.util.Configuration - Failed to invoke class org.zkoss.zkmax.init.WebAppInit
java.lang.NoClassDefFoundError: org/zkoss/zk/au/http/AuProcessor
at java.lang.ClassLoader.defineClass1(Native Method) ~[na:1.7.0_51]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[na:1.7.0_51]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[na:1.7.0_51]
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2918) ~[catalina.jar:7.0.47.A]
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1174) ~[catalina.jar:7.0.47.A]
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1669) ~[catalina.jar:7.0.47.A]
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547) ~[catalina.jar:7.0.47.A]
at org.zkoss.zkmax.init.WebAppInit.init(WebAppInit.java:32) ~[zkmax-3.6.3.jar:3.6.3]
at org.zkoss.zk.ui.util.Configuration.invokeWebAppInits(Configuration.java:733) ~[zk-7.0.1.jar:7.0.1]
at org.zkoss.zk.ui.impl.AbstractWebApp.init(AbstractWebApp.java:204) [zk-7.0.1.jar:7.0.1]
at org.zkoss.zk.ui.http.SimpleWebApp.init(SimpleWebApp.java:58) [zk-7.0.1.jar:7.0.1]
at org.zkoss.zk.ui.http.WebManager.<init>(WebManager.java:228) [zk-7.0.1.jar:7.0.1]
at org.zkoss.zk.ui.http.HttpSessionListener23.contextInitialized(HttpSessionListener23.java:140) [zk-7.0.1.jar:7.0.1]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) [catalina.jar:7.0.47.A]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) [catalina.jar:7.0.47.A]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:7.0.47.A]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) [catalina.jar:7.0.47.A]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) [catalina.jar:7.0.47.A]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) [catalina.jar:7.0.47.A]
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:663) [catalina.jar:7.0.47.A]
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1642) [catalina.jar:7.0.47.A]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51]
at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
Caused by: java.lang.ClassNotFoundException: org.zkoss.zk.au.http.AuProcessor
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702) ~[catalina.jar:7.0.47.A]
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547) ~[catalina.jar:7.0.47.A]
... 26 common frames omitted
delete flag offensive retag edit

Comments

can you provide the pom or say all your zk dependencys?

chillworld ( 2014-04-14 09:45:48 +0800 )edit

There is the file http://codeshare.io/Cj1dO

aloulen ( 2014-04-14 10:13:01 +0800 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2014-04-17 01:53:00 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi

You have to use the same version of following dependencys

<!-- ZK PE / EE -->
<dependency>
    <groupId>org.zkoss.zk</groupId>
    <artifactId>zkex</artifactId>
    <version>3.6.3</version>
</dependency>
<dependency>
    <groupId>org.zkoss.zk</groupId>
    <artifactId>zkmax</artifactId>
    <version>3.6.3</version>
</dependency>

change to ZK 7.0.1

link publish delete flag offensive edit
1

answered 2014-04-21 13:29:03 +0800

aloulen gravatar image aloulen
75 5

Thank you....

link publish delete flag offensive 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

Follow
1 follower

RSS

Stats

Asked: 2014-04-14 09:22:34 +0800

Seen: 60 times

Last updated: Apr 21 '14

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