1
0
-1

hi, is it possibe to use latest jasperreports library (v6.12.0) in Joget 5 (enterprise) ? there are 2 jasper jars in apache tomcat lib folder (jasper.jar and jasper-el.jar). can i simply add latest jasper lib and let it run some jrxml designed in latest tibco 6.12 in joget.

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      @Anders 

      javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspSourceImports
      	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:343)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
      	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      

      root cause

      java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspSourceImports
      	java.lang.ClassLoader.defineClass1(Native Method)
      	java.lang.ClassLoader.defineClass(ClassLoader.java:763)
      	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      	java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
      	java.net.URLClassLoader.access$100(URLClassLoader.java:73)
      	java.net.URLClassLoader$1.run(URLClassLoader.java:368)
      	java.net.URLClassLoader$1.run(URLClassLoader.java:362)
      	java.security.AccessController.doPrivileged(Native Method)
      	java.net.URLClassLoader.findClass(URLClassLoader.java:361)
      	org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
      	org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
      	org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:172)
      	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
      	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
      	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      

      root cause

      java.lang.ClassNotFoundException: org.apache.jasper.runtime.JspSourceImports
      	org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1305)
      	org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
      	org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:126)
      	org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
      	java.lang.ClassLoader.defineClass1(Native Method)
      	java.lang.ClassLoader.defineClass(ClassLoader.java:763)
      	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      	java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
      	java.net.URLClassLoader.access$100(URLClassLoader.java:73)
      	java.net.URLClassLoader$1.run(URLClassLoader.java:368)
      	java.net.URLClassLoader$1.run(URLClassLoader.java:362)
      	java.security.AccessController.doPrivileged(Native Method)
      	java.net.URLClassLoader.findClass(URLClassLoader.java:361)
      	org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
      	org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
      	org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:172)
      	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
      	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
      	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

      cant load jasper runtime.
        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi, I would be interested to know whether it works or not too. Would be great if you could share the outcome after you have tried it out.

        1. ayohmang

          hi Anders, i think its impossible, maybe need recompile runtime with current joget version which is outside of my knowledge. i hope this can be customized to include latest jasper runtime in v5 above. 

        CommentAdd your comment...