-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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>
check your casing, it's case sensitive, in worst case, the class isn't at classpath but I doubt that.
Chill.
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
Asked: 2016-06-08 10:35:22 +0800
Seen: 23 times
Last updated: Jun 11 '16