Uploaded image for project: 'ZK JSP'
  1. ZK JSP
  2. ZKJSP-7

zuljsp cannot work with ZK 6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • zuljsp.jar 1.6
      zk 6.0.0

      Reproducing steps

      For a simple jsp like as follows:

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <%@ taglib uri="http://www.zkoss.org/jsp/zul" prefix="z"%>
      <html>
      <body>
      	<z:page>
      		<z:window title="one Page" border="normal" width="500px">
      		</z:window>
      	</z:page>
      </body>
      </html>
      
      

      visit above page, and the following exception thrown:

      Problem accessing /forumtest/zkjsp/zuljspZk6.jsp. Reason:

      org/zkoss/util/ModificationException
      Caused by:

      java.lang.NoClassDefFoundError: org/zkoss/util/ModificationException
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
      at java.lang.Class.privateGetPublicMethods(Unknown Source)
      at java.lang.Class.getMethods(Unknown Source)
      at java.beans.Introspector.getPublicDeclaredMethods(Unknown Source)
      at java.beans.Introspector.getTargetMethodInfo(Unknown Source)
      at java.beans.Introspector.getBeanInfo(Unknown Source)
      at java.beans.Introspector.getBeanInfo(Unknown Source)
      at java.beans.Introspector.getBeanInfo(Unknown Source)
      at java.beans.Introspector.<init>(Unknown Source)
      at java.beans.Introspector.getBeanInfo(Unknown Source)
      at java.beans.Introspector.getBeanInfo(Unknown Source)
      at java.beans.Introspector.<init>(Unknown Source)
      at java.beans.Introspector.getBeanInfo(Unknown Source)
      at org.apache.jasper.compiler.Generator$TagHandlerInfo.<init>(Generator.java:3920)
      at org.apache.jasper.compiler.Generator$GenerateVisitor.getTagHandlerInfo(Generator.java:2277)
      at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1695)
      at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1482)
      at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257)
      at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2307)
      at org.apache.jasper.compiler.Generator$GenerateVisitor.generateJspFragment(Generator.java:3213)
      at org.apache.jasper.compiler.Generator$GenerateVisitor.generateCustomDoTag(Generator.java:2582)
      at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1778)
      at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1482)
      at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257)
      at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2307)
      at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2313)
      at org.apache.jasper.compiler.Node$Root.accept(Node.java:481)
      at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257)
      at org.apache.jasper.compiler.Generator.generate(Generator.java:3494)
      at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:409)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:326)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      Caused by: java.lang.ClassNotFoundException: org.zkoss.util.ModificationException
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:392)
      at runjettyrun.ProjectClassLoader.loadClass(ProjectClassLoader.java:77)

            benbai benbai
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: