0

apply java.lang.ClassNotFoundException:

asked 2016-06-08 10:35:22 +0800

pascal1990 gravatar image pascal1990
1

Hi, Please i have this problem

HTTP Status 500 - java.lang.ClassNotFoundException: com.demo.controller.BookController

the path is correct i don't know why this appear please i need a help

<window title="Insert Book" border="normal" apply="com.demo.controller.BookController"> <label value="Title"></label> <separator></separator> <textbox id="title"></textbox> <separator></separator> <label value="Author"></label> <separator></separator> <textbox id="author"></textbox> <separator></separator> <label value="Publication"></label> <separator></separator> <datebox id="publication_date" format="short " oncreate="self.value = new Date()"/> <separator></separator> <button labeel="Save Book" id="saveBook"></button> </window> </zk>

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2016-06-08 13:58:48 +0800

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

check your casing, it's case sensitive, in worst case, the class isn't at classpath but I doubt that.

Chill.

link publish delete flag offensive edit

answered 2016-06-10 14:04:09 +0800

alexamm gravatar image alexamm
15

after check case sensitive no work, try to clean the project and build it

link publish delete flag offensive edit

answered 2016-06-11 14:36:08 +0800

Darksu gravatar image Darksu
1991 1 4

Hello pascal1990,

As a reference please use the following documentation:

https://www.zkoss.org/wiki/ZKDeveloper'sReference/MVC/Controller/Composer

Also stop your application server, clean it up, and then restart it.

Best Regards,

Darksu

link publish delete flag offensive edit
Your reply
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: 2016-06-08 10:35:22 +0800

Seen: 21 times

Last updated: Jun 11 '16

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