This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes ZK Framework 5.0 classNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "ZK Framework 5.0 classNotFoundException" Watch "ZK Framework 5.0 classNotFoundException" New topic
Author

ZK Framework 5.0 classNotFoundException

alp carsikarsi
Ranch Hand

Joined: Dec 27, 2005
Posts: 40
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)



 
Consider Paul's rocket mass heater.
 
subject: ZK Framework 5.0 classNotFoundException
 
Similar Threads
Problems with EJB Local and using servlets - null pointers
java.lang.UnsupportedOperationException - How to overcome this?
Webservice runtime error
Weblogic 10.3-java.util.ConcurrentModificationException
java.net.SocketException: Broken pipe