Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26735

    Hello,
    i am tryng to deploy taglib example to tomcat 6.0 but after running tomcat i get following errors,

    javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/el/ExpressionFactoryImpl
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:268)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    root cause

    java.lang.NoClassDefFoundError: org/apache/el/ExpressionFactoryImpl
    org.apache.jasper.JspCompilationContext.getServletClassName(JspCompilationContext.java:374)
    org.apache.jasper.JspCompilationContext.getClassFileName(JspCompilationContext.java:514)
    org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:453)
    org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:399)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    root cause

    java.lang.ClassNotFoundException: org.apache.el.ExpressionFactoryImpl
    java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    java.security.AccessController.doPrivileged(Native Method)
    java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    org.apache.jasper.JspCompilationContext.getServletClassName(JspCompilationContext.java:374)
    org.apache.jasper.JspCompilationContext.getClassFileName(JspCompilationContext.java:514)
    org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:453)
    org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:399)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    can you please tell me where am i getting wrong?

    Prashant

    #29021

    Does the exception disappear if you remove pd4ml_demo.jar and ss_css2.jar from WEB-INF/lib ?

    #29022

    ok solved, no need to remove the jars..
    actually problem was in tomcat 6.0
    need to add jasper-el.jar to tomact/lib

    code works fine now.

    thank you!

    Prashant

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘Deployment / Configuration issues’ is closed to new topics and replies.