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



maya wrote:
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)

ok, not that I got any responses....;) however: problem was that I was running out of memory in my web server.. so I removed a whole bunch of stuff and problem persisted.. so I wrote to them and they said your problem is RAM memory, not disk-space... I never knew you could run out of RAM memory on a web server.. how do you clear RAM memory on a web server? on a home machine you just restart the machine.. they still haven't told me how to clear RAM memory on the server.. I restarted Tomcat but that didn't do it.. if anybody here has any suggestions I would appreciate it.. 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)