org.zkoss.xel.XelException: Resource not found: http://www.zkoss.org/dsp/web/core

ZK-Tracker | hawk | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    h2. steps to reproduce # Load a zul within a normal project with zkspring-security and zk 8.0.0 h2. actual result {quote} SEVERE: org.zkoss.util.IllegalSyntaxException: <config-name> is required ([null:jar:file:/Users/hawk/.m2/repository/org/zkoss/zk/zkspring-security/3.1.1/zkspring-security-3.1.1.jar!/metainfo/tld/config.xml:14:9]). at org.zkoss.idom.util.IDOMs.getRequiredElementValue(IDOMs.java:79) at org.zkoss.util.resource.ClassLocator$XMLResource.<init>(ClassLocator.java:141) at org.zkoss.util.resource.ClassLocator$XMLResource.<init>(ClassLocator.java:120) at org.zkoss.util.resource.ClassLocator.getDependentXMLResources(ClassLocator.java:79) at org.zkoss.xel.taglib.Taglibs.getDefaultTLDs(Taglibs.java:324) at org.zkoss.xel.taglib.Taglibs.getDefaultURL(Taglibs.java:308) at org.zkoss.web.servlet.dsp.impl.Parser$Context.loadTaglib(Parser.java:512) at org.zkoss.web.servlet.dsp.impl.Parser$Context.access$500(Parser.java:465) at org.zkoss.web.servlet.dsp.impl.Parser.parseControl(Parser.java:208) at org.zkoss.web.servlet.dsp.impl.Parser.parse0(Parser.java:105) at org.zkoss.web.servlet.dsp.impl.Parser.parse(Parser.java:68) at org.zkoss.web.servlet.dsp.Interpreter.parse(Interpreter.java:87) at org.zkoss.web.util.resource.DspExtendlet$DspLoader.parse(DspExtendlet.java:152) at org.zkoss.web.util.resource.DspExtendlet$DspLoader.parse(DspExtendlet.java:137) at org.zkoss.web.util.resource.ExtendletLoader.load(ExtendletLoader.java:109) at org.zkoss.web.util.resource.ExtendletLoader.load(ExtendletLoader.java:41) at org.zkoss.util.resource.ResourceCache$Info.load(ResourceCache.java:227) at org.zkoss.util.resource.ResourceCache$Info.<init>(ResourceCache.java:202) at org.zkoss.util.resource.ResourceCache.get(ResourceCache.java:134) at org.zkoss.web.util.resource.DspExtendlet.service(DspExtendlet.java:80) at org.zkoss.web.util.resource.ClassWebResource.web0(ClassWebResource.java:585) at org.zkoss.web.util.resource.ClassWebResource.web(ClassWebResource.java:571) at org.zkoss.web.util.resource.ClassWebResource.service(ClassWebResource.java:262) at org.zkoss.web.util.resource.ClassWebResource$CWC.include(ClassWebResource.java:811) at org.zkoss.zk.ui.http.WcsExtendlet.service(WcsExtendlet.java:112) at org.zkoss.web.util.resource.ClassWebResource.web0(ClassWebResource.java:585) at org.zkoss.web.util.resource.ClassWebResource.web(ClassWebResource.java:571) at org.zkoss.web.util.resource.ClassWebResource.service(ClassWebResource.java:262) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:427) ... {quote} * cannot load all style sheets {quote} SEVERE: Failed to parse /zul/css/norm.css.dsp java.io.FileNotFoundException: http://www.zkoss.org/dsp/web/core at org.zkoss.web.servlet.dsp.impl.Parser$Context.loadTaglib(Parser.java:514) at org.zkoss.web.servlet.dsp.impl.Parser$Context.access$500(Parser.java:465) at org.zkoss.web.servlet.dsp.impl.Parser.parseControl(Parser.java:208) at org.zkoss.web.servlet.dsp.impl.Parser.parse0(Parser.java:105) at org.zkoss.web.servlet.dsp.impl.Parser.parse(Parser.java:68) at org.zkoss.web.servlet.dsp.Interpreter.parse(Interpreter.java:87) at org.zkoss.web.util.resource.DspExtendlet$DspLoader.parse(DspExtendlet.java:152) {quote} * cannot use taglib {quote} org.zkoss.xel.XelException: Resource not found: http://www.zkoss.org/dsp/web/core at org.zkoss.xel.util.TaglibMapper.load(TaglibMapper.java:108) at org.zkoss.xel.util.TaglibMapper.load(TaglibMapper.java:93) at org.zkoss.xel.taglib.Taglibs.getFunctionMapper(Taglibs.java:133) at org.zkoss.xel.taglib.Taglibs.getFunctionMapper(Taglibs.java:109) at org.zkoss.zk.ui.metainfo.PageDefinition.getTaglibMapper(PageDefinition.java:888) at org.zkoss.zk.ui.metainfo.PageDefinition.preInit(PageDefinition.java:927) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:422) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:358) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:217) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:136) {quote} h2. Root Cause Specification change of config.xml since ZK 8. <config-name> is a new, required element. See: http://books.zkoss.org/wiki/ZUML_Reference/ZUML/Processing_Instructions/taglib/Custom_Taglib#Solving_config.xml_Dependence h2. Solution add <config-name>zkspring-security</config-name> in config.xml of zkspring-security

    ZK-Tracker | 1 year ago | hawk
    org.zkoss.xel.XelException: Resource not found: http://www.zkoss.org/dsp/web/core
  2. 0

    h2. steps to reproduce # Load a zul within a normal project with zkspring-security and zk 8.0.0 h2. actual result {quote} SEVERE: org.zkoss.util.IllegalSyntaxException: <config-name> is required ([null:jar:file:/Users/hawk/.m2/repository/org/zkoss/zk/zkspring-security/3.1.1/zkspring-security-3.1.1.jar!/metainfo/tld/config.xml:14:9]). at org.zkoss.idom.util.IDOMs.getRequiredElementValue(IDOMs.java:79) at org.zkoss.util.resource.ClassLocator$XMLResource.<init>(ClassLocator.java:141) at org.zkoss.util.resource.ClassLocator$XMLResource.<init>(ClassLocator.java:120) at org.zkoss.util.resource.ClassLocator.getDependentXMLResources(ClassLocator.java:79) at org.zkoss.xel.taglib.Taglibs.getDefaultTLDs(Taglibs.java:324) at org.zkoss.xel.taglib.Taglibs.getDefaultURL(Taglibs.java:308) at org.zkoss.web.servlet.dsp.impl.Parser$Context.loadTaglib(Parser.java:512) at org.zkoss.web.servlet.dsp.impl.Parser$Context.access$500(Parser.java:465) at org.zkoss.web.servlet.dsp.impl.Parser.parseControl(Parser.java:208) at org.zkoss.web.servlet.dsp.impl.Parser.parse0(Parser.java:105) at org.zkoss.web.servlet.dsp.impl.Parser.parse(Parser.java:68) at org.zkoss.web.servlet.dsp.Interpreter.parse(Interpreter.java:87) at org.zkoss.web.util.resource.DspExtendlet$DspLoader.parse(DspExtendlet.java:152) at org.zkoss.web.util.resource.DspExtendlet$DspLoader.parse(DspExtendlet.java:137) at org.zkoss.web.util.resource.ExtendletLoader.load(ExtendletLoader.java:109) at org.zkoss.web.util.resource.ExtendletLoader.load(ExtendletLoader.java:41) at org.zkoss.util.resource.ResourceCache$Info.load(ResourceCache.java:227) at org.zkoss.util.resource.ResourceCache$Info.<init>(ResourceCache.java:202) at org.zkoss.util.resource.ResourceCache.get(ResourceCache.java:134) at org.zkoss.web.util.resource.DspExtendlet.service(DspExtendlet.java:80) at org.zkoss.web.util.resource.ClassWebResource.web0(ClassWebResource.java:585) at org.zkoss.web.util.resource.ClassWebResource.web(ClassWebResource.java:571) at org.zkoss.web.util.resource.ClassWebResource.service(ClassWebResource.java:262) at org.zkoss.web.util.resource.ClassWebResource$CWC.include(ClassWebResource.java:811) at org.zkoss.zk.ui.http.WcsExtendlet.service(WcsExtendlet.java:112) at org.zkoss.web.util.resource.ClassWebResource.web0(ClassWebResource.java:585) at org.zkoss.web.util.resource.ClassWebResource.web(ClassWebResource.java:571) at org.zkoss.web.util.resource.ClassWebResource.service(ClassWebResource.java:262) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:427) ... {quote} * cannot load all style sheets {quote} SEVERE: Failed to parse /zul/css/norm.css.dsp java.io.FileNotFoundException: http://www.zkoss.org/dsp/web/core at org.zkoss.web.servlet.dsp.impl.Parser$Context.loadTaglib(Parser.java:514) at org.zkoss.web.servlet.dsp.impl.Parser$Context.access$500(Parser.java:465) at org.zkoss.web.servlet.dsp.impl.Parser.parseControl(Parser.java:208) at org.zkoss.web.servlet.dsp.impl.Parser.parse0(Parser.java:105) at org.zkoss.web.servlet.dsp.impl.Parser.parse(Parser.java:68) at org.zkoss.web.servlet.dsp.Interpreter.parse(Interpreter.java:87) at org.zkoss.web.util.resource.DspExtendlet$DspLoader.parse(DspExtendlet.java:152) {quote} * cannot use taglib {quote} org.zkoss.xel.XelException: Resource not found: http://www.zkoss.org/dsp/web/core at org.zkoss.xel.util.TaglibMapper.load(TaglibMapper.java:108) at org.zkoss.xel.util.TaglibMapper.load(TaglibMapper.java:93) at org.zkoss.xel.taglib.Taglibs.getFunctionMapper(Taglibs.java:133) at org.zkoss.xel.taglib.Taglibs.getFunctionMapper(Taglibs.java:109) at org.zkoss.zk.ui.metainfo.PageDefinition.getTaglibMapper(PageDefinition.java:888) at org.zkoss.zk.ui.metainfo.PageDefinition.preInit(PageDefinition.java:927) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:422) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:358) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:217) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:136) {quote} h2. Root Cause Specification change of config.xml since ZK 8. <config-name> is a new, required element. See: http://books.zkoss.org/wiki/ZUML_Reference/ZUML/Processing_Instructions/taglib/Custom_Taglib#Solving_config.xml_Dependence h2. Solution add <config-name>zkspring-security</config-name> in config.xml of zkspring-security

    ZK-Tracker | 1 year ago | hawk
    org.zkoss.xel.XelException: Resource not found: http://www.zkoss.org/dsp/web/core

    Root Cause Analysis

    1. org.zkoss.xel.XelException

      Resource not found: http://www.zkoss.org/dsp/web/core

      at org.zkoss.xel.util.TaglibMapper.load()
    2. The ZKoss Common Library
      Taglibs.getFunctionMapper
      1. org.zkoss.xel.util.TaglibMapper.load(TaglibMapper.java:108)
      2. org.zkoss.xel.util.TaglibMapper.load(TaglibMapper.java:93)
      3. org.zkoss.xel.taglib.Taglibs.getFunctionMapper(Taglibs.java:133)
      4. org.zkoss.xel.taglib.Taglibs.getFunctionMapper(Taglibs.java:109)
      4 frames
    3. ZK Kernel
      DHtmlLayoutServlet.doGet
      1. org.zkoss.zk.ui.metainfo.PageDefinition.getTaglibMapper(PageDefinition.java:888)
      2. org.zkoss.zk.ui.metainfo.PageDefinition.preInit(PageDefinition.java:927)
      3. org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:422)
      4. org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:358)
      5. org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:217)
      6. org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:136)
      6 frames