0 Replies Latest reply on Apr 14, 2005 2:50 AM by Lim Ivy

    Unable to compile class for JSP with File Not Found exceptio

    Lim Ivy Newbie

      Hi,

      My applications was running fine. But, the next day(not sure whether it's tiem dependant), the app failed to even show the login screen. It has the following exceptions: -

      org.apache.jasper.JasperException: Unable to compile class for JSP
       at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:478)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
       ....
      
      Root Cause
      
      java.io.FileNotFoundException: D:\jboss-3.2.1\server\Filter\tmp\deploy\server\Filter\deploy\work\MainEngine\localhost\filter\pages\layouts\simple_jsp.java (The system cannot find the path specified)
       at java.io.FileOutputStream.open(Native Method)
       at java.io.FileOutputStream.(FileOutputStream.java:179)
       at java.io.FileOutputStream.(FileOutputStream.java:70)
       at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:216)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
       at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      ....



      I solved it by restarting the applications. Can anyone please tell me how to overcome or or why is this happening, please.

      My env is: -

      Windows 2000 Sp4
      JDK 1.4.2_04
      JBoss 3.2.1

      Thank you.