• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ZK Framework 5.0 classNotFoundException

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been using ZK Framework 3.0 in my web application . In ZK 3.0 contains org.zkoss.web.fn.XMLFns class.
I decided to pass to a new version of ZK Framework 5.0.
ZK 5.0 doesn't contain XMLFns class but i am getting ClassNotFoundException.

Do you have any idea about this problem ?

Exception :

org.zkoss.lang.SystemException: java.lang.ClassNotFoundException: org.zkoss.web.fn.XMLFns
at jrockit.reflect.NativeConstructorInvoker.newInstance([Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at org.zkoss.lang.Classes.newInstance(Classes.java:76)
at org.zkoss.lang.Exceptions.wrap(Exceptions.java:162)
at org.zkoss.lang.SystemException$Aide.wrap(SystemException.java:45)
at org.zkoss.util.resource.ResourceCache.get(ResourceCache.java:156)
at org.zkoss.xel.taglib.Taglibs.load(Taglibs.java:217)
at org.zkoss.xel.util.TaglibMapper.load(TaglibMapper.java:83)
at org.zkoss.xel.util.TaglibMapper.load(TaglibMapper.java:109)
at org.zkoss.xel.util.TaglibMapper.load(TaglibMapper.java:91)
at org.zkoss.xel.taglib.Taglibs.getFunctionMapper(Taglibs.java:134)
at org.zkoss.xel.taglib.Taglibs.getFunctionMapper(Taglibs.java:110)
at org.zkoss.zk.ui.metainfo.PageDefinition.getTaglibMapper(PageDefinition.java:814)
at org.zkoss.zk.ui.metainfo.PageDefinition.initXelContext(PageDefinition.java:379)
at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:352)
at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:286)
at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:237)
at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:159)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
Caused by: java.lang.ClassNotFoundException: org.zkoss.web.fn.XMLFns
at java.lang.Class.forName(Ljava.lang.String;ZLjava.lang.ClassLoader;)Ljava.lang.Class;(Unknown Source)
at java.lang.Class.forName(Ljava.lang.String;I)Ljava.lang.Class;(Unknown Source)
at org.zkoss.lang.Classes.forNameByThread(Classes.java:208)
at org.zkoss.xel.taglib.Taglibs.load(Taglibs.java:244)
at org.zkoss.xel.taglib.Taglibs$TaglibLoader.load(Taglibs.java:304)
at org.zkoss.util.resource.ResourceCache$Info.load(ResourceCache.java:226)
at org.zkoss.util.resource.ResourceCache$Info.(ResourceCache.java:200)
at org.zkoss.util.resource.ResourceCache.get(ResourceCache.java:133)
at org.zkoss.xel.taglib.Taglibs.load(Taglibs.java:217)
at org.zkoss.xel.util.TaglibMapper.load(TaglibMapper.java:83)
at org.zkoss.xel.util.TaglibMapper.load(TaglibMapper.java:109)
at org.zkoss.xel.util.TaglibMapper.load(TaglibMapper.java:91)
at org.zkoss.xel.taglib.Taglibs.getFunctionMapper(Taglibs.java:134)
at org.zkoss.xel.taglib.Taglibs.getFunctionMapper(Taglibs.java:110)
at org.zkoss.zk.ui.metainfo.PageDefinition.getTaglibMapper(PageDefinition.java:814)
at org.zkoss.zk.ui.metainfo.PageDefinition.initXelContext(PageDefinition.java:379)
at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:352)
at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:286)
at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:237)
at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:159)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:731)
at org.zkoss.zk.ui.http.Utils.handleError(Utils.java:92)
at org.zkoss.zk.ui.http.DHtmlLayoutServlet.handleError(DHtmlLayoutServlet.java:299)
at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:160)



 
reply
    Bookmark Topic Watch Topic
  • New Topic