-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I created a new zk project in eclipse with zk zkee-bin-eval-9.0.1.2 and imported some files that I used in other project with free versions of ZK and I got this problem:
java.lang.NoSuchMethodError: org.zkoss.zk.ui.sys.ComponentCtrl.getShadowRoots()Ljava/util/List;
Any recommendations?
Thank you,
Javier
Hi Javier,
Sounds like you might have a version mix up in your dependencies. How are you managing the dependencies in this project? Maven, gradle, manual jar deployement?
The getShadowRoots method was added in ZK 8.0.0, so the most likely explanation would be that you have a zk.jar < 8.0.0 with some other jars (such as zuti, zul, zkmax, etc...) > 8.0.0
If you are using maven, I'd recommend generating the dependency graph for this project. Should show you versions for all jars resolved.
Asked: 2020-05-28 15:02:32 +0800
Seen: 6 times
Last updated: May 29 '20