zk-9 ce + liferay 7.3 - DHtmlLayoutServlet not found

asked 2020-05-15 17:15:11 +0800

andij62 gravatar image andij62
311 1 7

Hi all,

if i deploy a zk-Portlet under Liferay 7.3 everything works. But after I deploy several portlets, i want to store the zk-jars centrally in the lib/EXT-Directory of the Tomcat and not deliver them in the portlet. But that doesn't work, the error message appears

java.lang.ClassNotFoundException: org.zkoss.zk.ui.http.DHtmlLayoutServlet cannot be found...

Can someone tell me whether the problem is more with ZK or with Liferay?

Regards Andi

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2020-05-18 17:56:36 +0800

hawk gravatar image hawk
2740 1 5
http://hawkphoenix.blogsp... ZK Team

When do you see that error message? at Tomcat starts up?

But ZK cannot be used as a shared library for multiple applications. Because it stores its configuration (zk.xml parsing result) in static variables, so all ZK applications configuration will mix up and cause problems.

Please deploy zk jar in separate WARs.

link publish delete flag offensive edit

answered 2020-05-19 18:57:58 +0800

andij62 gravatar image andij62
311 1 7

Thank you for the information. Then it doesn't work as I thought.

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




Asked: 2020-05-15 17:15:11 +0800

Seen: 9 times

Last updated: May 19 '20

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