1

Error configuring application listener of class org.zkoss.zk.ui.http.HttpSessionListener

asked 2014-01-18 18:20:06 +0800

kcollins gravatar image kcollins
11 1

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?

delete flag offensive retag edit

Comments

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 )edit

Chillworld -- 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
Be the first one to answer this question!
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-01-18 18:20:06 +0800

Seen: 84 times

Last updated: Jan 18 '14

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