-
FEATURED COMPONENTS
First time here? Check out the FAQ!
My zul ca't work in zk 3.6.3
But it can work in zk 3.6.2
When I upgrade to zk 3.6.3 and run my web it
show the error message as below
org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Component definition not found: borderlayout in [LanguageDefinition: xul/html], [SYS file:/C:/Java/workspace/CIM/zk/cim_test.zul line 31 col 16] org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:740) org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:567) org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:841) org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:567) org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:841) org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:211) org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:102) org.zkoss.zk.ui.metainfo.PageDefinitions$MyLoader.parse(PageDefinitions.java:196) org.zkoss.web.util.resource.ResourceLoader.load(ResourceLoader.java:94) org.zkoss.util.resource.ResourceCache$Info.load(ResourceCache.java:219) org.zkoss.util.resource.ResourceCache$Info.<init>(ResourceCache.java:193) org.zkoss.util.resource.ResourceCache.get(ResourceCache.java:134) org.zkoss.web.util.resource.ResourceCaches.get(ResourceCaches.java:132) org.zkoss.zk.ui.metainfo.PageDefinitions.getPageDefinition(PageDefinitions.java:142) org.zkoss.zk.ui.impl.AbstractUiFactory.getPageDefinition(AbstractUiFactory.java:115) org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:221) org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:165) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
check if really all old jars are replaced with the new jars.
Additionally you can clean the Tomcat working Directory. Remove and add new the deployed project.
best
Stephan
I'm having the exact same problem after upgrading to 3.6.3 and 5.0 RC:
org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Component definition not found: detail OR
org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Component definition not found: group
I've cleaned the Tomcat working directory, in 5.0 RC I count a total of 15 jars (all jars in the zip), next to that I can find the org.zkoss.zul.Detail and org.zkoss.zul.Group classes; web.js.zul.grid.Group.js; ...
I just don't get it.
I'm using the community edition, which clearly states that the "master-detail" view for grids is part of it.
Barema
I've found a fix, but not the kind I like:
I've copied all the jars from the zkdemo-app into my lib-folder (replacing all the jars from the default install, and adding some more)
Now everything works perfect, but I'm afraid it means some jars may be missing in the original download (community edition).
I've seen a similar post on the forum with the simple reply "replace community edition by enterprise edition"
Anyway, for now, mine works ... but this doesn't seem the appropriate solution.
Regards,
Barema
Asked: 2009-11-03 20:43:13 +0800
Seen: 978 times
Last updated: Nov 16 '09