-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Beginner question, but I'm a bit stuck. I've followed ZK's instructions for loading and using ZK Studio within Eclipse (both current versions as of 1/18/2014). And I'm using tomcat 7 as a server in Eclipse. I create a new ZK project (File->New->Other->ZK Project) and try to Run on Server. I always get this error in the server console:
SEVERE: Error configuring application listener of class org.zkoss.zk.ui.http.HttpSessionListener java.lang.ClassNotFoundException: org.zkoss.zk.ui.http.HttpSessionListener
I can see that the class is defined in zk.jar, which is attached to the project, along with a number of other ZK jars. Following advice in related posts I've removed all other ZK jars, but the problem persists.
What am I missing?
Asked: 2014-01-18 18:20:06 +0800
Seen: 84 times
Last updated: Jan 18 '14
When you do build your project. Does that file contains the zk.jar? Is the classpath correct? Otherwise you can put the zk jars under' tomcat classpath. Greetz chill
chillworld ( 2014-01-18 21:26:06 +0800 )editChillworld -- thanks for your response. I've concluded that I'm trying to do too many things at once. The jar files clearly show up in the "Java Build Path" in Eclipse -- as expected from a ZK-Eclipse integration. But still no luck. Will revert to a manual build to figure it out.
kcollins ( 2014-01-20 15:17:49 +0800 )edit