0 Replies Latest reply on Apr 24, 2006 1:31 AM by david.barber

    JSP Compilation Error

    david.barber

      Hi

      I am getting compilation errors when deploying new JSP pages with the message;

      org.apache.jasper.JasperException: Unable to compile class for JSP

      The root cause is identified as the follwing;

      java.lang.NullPointerException
      at org.apache.tools.ant.util.FileUtils.resolveFile(FileUtils.java:330)
      at org.apache.tools.ant.Project.resolveFile(Project.java:618)
      at org.apache.tools.ant.types.Path.resolveFile(Path.java:451)
      at org.apache.tools.ant.types.Path.translatePath(Path.java:353)
      at org.apache.tools.ant.types.Path$PathElement.setPath(Path.java:119)
      at org.apache.tools.ant.types.Path.setPath(Path.java:167)
      at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:262)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


      Does anybody have any ideas as to what could be preventing the jsp from compiling.

      Thanks

      David