JSP won't compile... error contains no info......



hi,

I've been working on this project for about two weeks now, all of a sudden since last Sunday evening my JSP's won't compile (sometimes what happens is JSP loads fine, but if I reload it I get this error..)
usu when a JSP won't compile it's a syntax error and error-msg says what the syntax error is, but this time error-msg is not giving me any info whatsoever as to why JSP is not compiling:

org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)

org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

further down it says:

Compile failed; see the compiler error output for details.

.....

The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.


------------------------------------------

this is on my website (in my local Tomcat JSP's compile fine..), I don't know where logs files are, and I don't know where to look for "compiler error output"... if there's a syntax problem, shouldn't it say what it is? (no unusual API's or anything, that I might have forgotten to upload; as I mentioned above, I started getting this error only two days ago; before that JSP's were compiling fine..)

thank you........

.



Relevant Pages

  • Re: jsp wont compile...
    ... JSPs are first compiled to plain Java servlets. ... The java sources resulting from the JSP processing (and also the ... You can also compile JSPs to Java manually; ... command-line tool for this; supposing PATH and JAVA_HOME are correctly ...
    (comp.lang.java.help)
  • Simple JSP fails!!!
    ... We test on the Windows box, and then upload to the Unix box. ... I tried uploading a simple "Hello World" JSP ... Compile failed; see the compiler error output for details. ...
    (comp.lang.java.programmer)
  • Re: prob while deploying war component in JBOSS
    ... > refer to ... You have to put your EJB classes to the JBoss classpath (in a seperate ... > Is it due to this my JSP is not getting compiled? ... does not compile you would see a Jasper error message. ...
    (comp.lang.java.help)
  • Unprecise error line number on JSP compilation
    ... I am using Tomcat 5.5 and when i compile a jsp i'm facing this ... If the Jsp contains an error in a java script, tomcat doesn't print ...
    (comp.lang.java.programmer)
  • Re: Calling a jsp from within a jsp tag (is madness far away)
    ... this seems to work (in the tag handler) ... >apart from one which is a jsp type ... >The jsp fragment actually contains the name of the jsp (e.g ... >compiled at runtime and others at compile time but as I'm no JSP ...
    (comp.lang.java.programmer)