0

org.zkoss.zk.ui.UiException: java.lang.ClassNotFoundException

asked 2014-08-07 12:44:09 +0800

jcortega68 gravatar image jcortega68
1

when I try in my file .zul put in the window interface an "use=Controller.java", it appears an error that tell: org.zkoss.zk.ui.UiException: java.lang.ClassNotFoundException:Controller.java, and the file Controller.java exits, What it´s the problem?

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2014-08-07 13:46:55 +0800

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

Possible causes why you have this problem :

  • Wrong import (in stead of mine.own.Controller you have now someone.else.Controller)
  • In a zul write your FQN bad. (mine.Own.controller in stead of mine.own.Controller)
  • The Controller.java exist but in other project what has that dependency => is the dependency in your war file?

Greetz chill.

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-08-07 12:44:09 +0800

Seen: 34 times

Last updated: Aug 07 '14

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