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]).

ZK-Tracker | hawk | 1 year ago
  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.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]).
  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.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]).
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

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

    zkoss.org | 6 months ago
    org.zkoss.util.IllegalSyntaxException: <config-name> wird benötigt ([null:jar:file:/C:/Users/b15326/.m2/repository/org/zkoss/zk/zkspring-security/3.1.1/zkspring-security-3.1.1.jar!/metainfo/tld/config.xml:14:9]).

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. The ZKoss Common Library
      Taglibs.getDefaultURL
      1. org.zkoss.idom.util.IDOMs.getRequiredElementValue(IDOMs.java:79)
      2. org.zkoss.util.resource.ClassLocator$XMLResource.<init>(ClassLocator.java:141)
      3. org.zkoss.util.resource.ClassLocator$XMLResource.<init>(ClassLocator.java:120)
      4. org.zkoss.util.resource.ClassLocator.getDependentXMLResources(ClassLocator.java:79)
      5. org.zkoss.xel.taglib.Taglibs.getDefaultTLDs(Taglibs.java:324)
      6. org.zkoss.xel.taglib.Taglibs.getDefaultURL(Taglibs.java:308)
      6 frames
    3. The ZKoss Web Library
      ExtendletLoader.load
      1. org.zkoss.web.servlet.dsp.impl.Parser$Context.loadTaglib(Parser.java:512)
      2. org.zkoss.web.servlet.dsp.impl.Parser$Context.access$500(Parser.java:465)
      3. org.zkoss.web.servlet.dsp.impl.Parser.parseControl(Parser.java:208)
      4. org.zkoss.web.servlet.dsp.impl.Parser.parse0(Parser.java:105)
      5. org.zkoss.web.servlet.dsp.impl.Parser.parse(Parser.java:68)
      6. org.zkoss.web.servlet.dsp.Interpreter.parse(Interpreter.java:87)
      7. org.zkoss.web.util.resource.DspExtendlet$DspLoader.parse(DspExtendlet.java:152)
      8. org.zkoss.web.util.resource.DspExtendlet$DspLoader.parse(DspExtendlet.java:137)
      9. org.zkoss.web.util.resource.ExtendletLoader.load(ExtendletLoader.java:109)
      10. org.zkoss.web.util.resource.ExtendletLoader.load(ExtendletLoader.java:41)
      10 frames
    4. The ZKoss Common Library
      ResourceCache.get
      1. org.zkoss.util.resource.ResourceCache$Info.load(ResourceCache.java:227)
      2. org.zkoss.util.resource.ResourceCache$Info.<init>(ResourceCache.java:202)
      3. org.zkoss.util.resource.ResourceCache.get(ResourceCache.java:134)
      3 frames
    5. The ZKoss Web Library
      ClassWebResource$CWC.include
      1. org.zkoss.web.util.resource.DspExtendlet.service(DspExtendlet.java:80)
      2. org.zkoss.web.util.resource.ClassWebResource.web0(ClassWebResource.java:585)
      3. org.zkoss.web.util.resource.ClassWebResource.web(ClassWebResource.java:571)
      4. org.zkoss.web.util.resource.ClassWebResource.service(ClassWebResource.java:262)
      5. org.zkoss.web.util.resource.ClassWebResource$CWC.include(ClassWebResource.java:811)
      5 frames
    6. ZK Kernel
      WcsExtendlet.service
      1. org.zkoss.zk.ui.http.WcsExtendlet.service(WcsExtendlet.java:112)
      1 frame
    7. The ZKoss Web Library
      ClassWebResource.service
      1. org.zkoss.web.util.resource.ClassWebResource.web0(ClassWebResource.java:585)
      2. org.zkoss.web.util.resource.ClassWebResource.web(ClassWebResource.java:571)
      3. org.zkoss.web.util.resource.ClassWebResource.service(ClassWebResource.java:262)
      3 frames
    8. ZK Kernel
      DHtmlUpdateServlet.doGet
      1. org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:427)
      1 frame