0

zk upgrade issue

asked 2007-10-12 18:58:02 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4566212

By: powers007

I just upgraded zk using maven and I got this stack trace of a missing class.
I've located the class in the jar files and it's in the package just with a slightly dissimilar name. I don't want to have to modify the packages to get it going but if I have to I will. I was wondering if anyone else was having this problem? Maybe I'm missing a dependency? Maven config and stack trace follows.

Thanks




<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zul</artifactId>
<version>3.0.0-RC</version>
</dependency>
<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zhtml</artifactId>
<version>3.0.0-RC</version>
</dependency>
<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zkplus</artifactId>
<version>3.0.0-RC</version>
</dependency>





org.zkoss.lang.SystemException: java.lang.ClassNotFoundException:
org.zkoss.el.fn.CommonFns
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.zkoss.lang.Classes.newInstance(Classes.java:80)
at org.zkoss.lang.Exceptions.wrap(Exceptions.java:162)
at org.zkoss.lang.SystemException$Aide.wrap(SystemException.java:47)
at org.zkoss.util.resource.ResourceCache.get(ResourceCache.java:154)
at org.zkoss.xel.taglib.Taglibs.load(Taglibs.java:138)
at org.zkoss.xel.util.TaglibMapper.load(TaglibMapper.java:85)
at org.zkoss.xel.util.TaglibMapper.load(TaglibMapper.java:111)
at org.zkoss.xel.util.TaglibMapper.load(TaglibMapper.java:93)
at org.zkoss.xel.taglib.Taglibs.getFunctionMapper(Taglibs.java:79)
at org.zkoss.zk.ui.metainfo.PageDefinition.getFunctionMapper(PageDefinition.jav
a:591)
at org.zkoss.zk.ui.metainfo.PageDefinition.initXelContext(PageDefinition.java:2
88)
at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:310)
at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:259)
at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:188)
at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:286)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:127)
at org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:464)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerColl
ection.java:211)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:11
4)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnectio
n.java:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:4
42)

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2007-10-15 10:22:26 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4568942

By: waterbottle

Hi,
Could you post the zul file?

It looks like you use a older tag-lib ,
please check if there are any static tag-lib in the zul page, it maybe like this : <?taglib uri="/WEB-INF/tld/web/core.dsp.tld" prefix="c"?> you must upgrade the tld file which in the WEB-INF to new version,

or, use uri to instead of tld file like below, <%@ taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c" %>


/Dennis

link publish delete flag offensive edit

answered 2007-10-15 21:38:23 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4570168

By: powers007

Thanks that was the problem. Works great now.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2007-10-12 18:58:02 +0800

Seen: 1,095 times

Last updated: Oct 15 '07

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More