java.lang.NoSuchMethodError: org.zkoss.zk.ui.sys.ComponentCtrl.getShadowRoots()Ljava/util/List;

asked 2020-05-28 15:02:32 +0800

softteam gravatar image softteam
120 7


I created a new zk project in eclipse with zk zkee-bin-eval- 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,


delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-05-29 09:56:38 +0800

MDuchemin gravatar image MDuchemin
1708 1 5
ZK Team

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.

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

1 follower



Asked: 2020-05-28 15:02:32 +0800

Seen: 6 times

Last updated: May 29

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