-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have issue when my zk ee version 9.6.4-jarkarta but theme version don't have version jarkarta so I use 9.6.4 then it got error when run application.
org.zkoss.zk.ui.UiException: Unknown listener: class org.zkoss.theme.iceblue_c.ThemeWebAppInit at org.zkoss.zk.ui.util.Configuration.addListener(Configuration.java:413) ~[zk-9.6.4-jakarta.jar:9.6.4-migrated-1.0.0] at org.zkoss.zk.ui.sys.ConfigParser.parseListener(ConfigParser.java:288) ~[zk-9.6.4-
I can run zk 9.6.4-jakarta with iceblue_c 9.6.4 successfully
You can try the example project at https://github.com/zkoss/zkbooks/tree/jakarta/componentreference
run it with
mvn jetty:run
According to your error message, it looks like a class loading issue. There is a similar one: https://forum.zkoss.org/question/114378/unknown-listener-class-orgzkossthemeiceblue_cthemewebappinit-when-use-zkspringboot-2512/
Make sure you don't put zk jar in Tomcat endorsed
folder.
Checking the following possible issues:
Asked: 2023-09-08 10:53:38 +0800
Seen: 5 times
Last updated: Sep 12
because the theme jar doesn't rely on any java EE API, so there is no need to build a jakarta jar. Could the complete error stack trace you saw?
hawk ( 2023-09-11 11:50:02 +0800 )editorg.zkoss.zk.ui.UiException: Unknown listener: class org.zkoss.theme.iceblue_c.ThemeWebAppInit at org.zkoss.zk.ui.util.Configuration.addListener(Configuration.java:413) ~[zk-9.6.4-jakarta.jar:9.6.4-migrated-1.0.0] at org.zkoss.zk.ui.sys.ConfigParser.parseListener(ConfigParser.java:288) ~[zk-9.6.4-
PonSambo1 ( 2023-09-11 12:33:27 +0800 )edit