org.zkoss.zk.ui.UiException: jar:file:/User...ar!/metainfo/zk/config.xml:23:12: Unable to load org.zkoss.spring.init.CoreWebAppInit

ZK-Tracker | hawk | 1 year ago
  1. 0

    If we don't specify a zkplus in a pom.xml with zkspring-core, the error below will happen: {quote} SEVERE: Unable to load a listenr, [null:jar:file:/Users/hawk/.m2/repository/org/zkoss/zk/zkspring-core/3.1.1/zkspring-core-3.1.1.jar!/metainfo/zk/config.xml:23:12] org.zkoss.zk.ui.UiException: jar:file:/User...ar!/metainfo/zk/config.xml:23:12: Unable to load org.zkoss.spring.init.CoreWebAppInit at org.zkoss.zk.ui.sys.ConfigParser.parseClass(ConfigParser.java:744) at org.zkoss.zk.ui.sys.ConfigParser.parseListener(ConfigParser.java:253) at org.zkoss.zk.ui.sys.ConfigParser.parseListeners(ConfigParser.java:248) at org.zkoss.zk.ui.sys.ConfigParser.parseConfigXml(ConfigParser.java:188) at org.zkoss.zk.ui.http.WebManager.<init>(WebManager.java:132) at org.zkoss.zk.ui.http.HttpSessionListener23.contextInitialized(HttpSessionListener23.java:140) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at runjettyrun.Bootstrap.main(Bootstrap.java:97) Caused by: java.lang.NoClassDefFoundError: org/zkoss/spring/DelegatingVariableResolver at org.zkoss.spring.init.CoreWebAppInit.<clinit>(CoreWebAppInit.java:35) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.zkoss.lang.Classes.forNameByThread(Classes.java:268) at org.zkoss.zk.ui.sys.ConfigParser.parseClass(ConfigParser.java:729) ... 15 more Caused by: java.lang.ClassNotFoundException: org.zkoss.spring.DelegatingVariableResolver at runjettyrun.ProjectClassLoader.loadClass(ProjectClassLoader.java:91) ... 20 more {quote} The spring's pom.xml should be specified to depend on zkplus. h2. Benefits * avoid user frustration and human errors. * simplify dependency configuration http://books.zkoss.org/wiki/ZK_Spring_Essentials/Getting_Started_with_ZK_Spring/Setting_Up_ZK_Spring_using_Maven

    ZK-Tracker | 1 year ago | hawk
    org.zkoss.zk.ui.UiException: jar:file:/User...ar!/metainfo/zk/config.xml:23:12: Unable to load org.zkoss.spring.init.CoreWebAppInit
  2. 0

    If we don't specify a zkplus in a pom.xml with zkspring-core, the error below will happen: {quote} SEVERE: Unable to load a listenr, [null:jar:file:/Users/hawk/.m2/repository/org/zkoss/zk/zkspring-core/3.1.1/zkspring-core-3.1.1.jar!/metainfo/zk/config.xml:23:12] org.zkoss.zk.ui.UiException: jar:file:/User...ar!/metainfo/zk/config.xml:23:12: Unable to load org.zkoss.spring.init.CoreWebAppInit at org.zkoss.zk.ui.sys.ConfigParser.parseClass(ConfigParser.java:744) at org.zkoss.zk.ui.sys.ConfigParser.parseListener(ConfigParser.java:253) at org.zkoss.zk.ui.sys.ConfigParser.parseListeners(ConfigParser.java:248) at org.zkoss.zk.ui.sys.ConfigParser.parseConfigXml(ConfigParser.java:188) at org.zkoss.zk.ui.http.WebManager.<init>(WebManager.java:132) at org.zkoss.zk.ui.http.HttpSessionListener23.contextInitialized(HttpSessionListener23.java:140) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at runjettyrun.Bootstrap.main(Bootstrap.java:97) Caused by: java.lang.NoClassDefFoundError: org/zkoss/spring/DelegatingVariableResolver at org.zkoss.spring.init.CoreWebAppInit.<clinit>(CoreWebAppInit.java:35) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.zkoss.lang.Classes.forNameByThread(Classes.java:268) at org.zkoss.zk.ui.sys.ConfigParser.parseClass(ConfigParser.java:729) ... 15 more Caused by: java.lang.ClassNotFoundException: org.zkoss.spring.DelegatingVariableResolver at runjettyrun.ProjectClassLoader.loadClass(ProjectClassLoader.java:91) ... 20 more {quote} The spring's pom.xml should be specified to depend on zkplus. h2. Benefits * avoid user frustration and human errors. * simplify dependency configuration http://books.zkoss.org/wiki/ZK_Spring_Essentials/Getting_Started_with_ZK_Spring/Setting_Up_ZK_Spring_using_Maven

    ZK-Tracker | 1 year ago | hawk
    org.zkoss.zk.ui.UiException: jar:file:/User...ar!/metainfo/zk/config.xml:23:12: Unable to load org.zkoss.spring.init.CoreWebAppInit
  3. 0

    Issue 144 - run-jetty-run - ClassNotFoundException when using Apache Orchestra - Jetty Eclipse Plugin! Best plugin for running Jetty in Eclipse! Jetty,Eclipse,Maven,Web - Google Project Hosting

    google.com | 1 year ago
    com.sun.faces.config.ConfigurationException: java.lang.ClassNotFoundException: org.apache.myfaces.orchestra.conversation.jsf.components.facelets.ConverterTagHandler
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue 144 - run-jetty-run - ClassNotFoundException when using Apache Orchestra - Jetty Eclipse Plugin! Best plugin for running Jetty in Eclipse! Jetty,Eclipse,Maven,Web - Google Project Hosting

    google.com | 11 months ago
    com.sun.faces.config.ConfigurationException: java.lang.ClassNotFoundException: org.apache.myfaces.orchestra.conversation.jsf.components.facelets.ConverterTagHandler
  6. 0

    ClassNotFoundException when using Apache Orchestra

    GitHub | 1 year ago | GoogleCodeExporter
    java.lang.ClassNotFoundException: org.apache.myfaces.orchestra.conversation.jsf.components.facelets.ConverterTagHa ndler

    1 unregistered visitors
    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. java.lang.ClassNotFoundException

      org.zkoss.spring.DelegatingVariableResolver

      at runjettyrun.ProjectClassLoader.loadClass()
    2. runjettyrun
      ProjectClassLoader.loadClass
      1. runjettyrun.ProjectClassLoader.loadClass(ProjectClassLoader.java:91)
      1 frame
    3. org.zkoss.spring
      CoreWebAppInit.<clinit>
      1. org.zkoss.spring.init.CoreWebAppInit.<clinit>(CoreWebAppInit.java:35)
      1 frame
    4. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:348)
      2 frames
    5. The ZKoss Common Library
      Classes.forNameByThread
      1. org.zkoss.lang.Classes.forNameByThread(Classes.java:268)
      1 frame
    6. ZK Kernel
      HttpSessionListener23.contextInitialized
      1. org.zkoss.zk.ui.sys.ConfigParser.parseClass(ConfigParser.java:729)
      2. org.zkoss.zk.ui.sys.ConfigParser.parseListener(ConfigParser.java:253)
      3. org.zkoss.zk.ui.sys.ConfigParser.parseListeners(ConfigParser.java:248)
      4. org.zkoss.zk.ui.sys.ConfigParser.parseConfigXml(ConfigParser.java:188)
      5. org.zkoss.zk.ui.http.WebManager.<init>(WebManager.java:132)
      6. org.zkoss.zk.ui.http.HttpSessionListener23.contextInitialized(HttpSessionListener23.java:140)
      6 frames
    7. Jetty Server
      WebAppContext.doStart
      1. org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
      2. org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
      3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
      4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
      5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
      5 frames
    8. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    9. Jetty Server
      Server.doStart
      1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      2. org.mortbay.jetty.Server.doStart(Server.java:224)
      2 frames
    10. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    11. runjettyrun
      Bootstrap.main
      1. runjettyrun.Bootstrap.main(Bootstrap.java:97)
      1 frame