Re: tomcat error..



On Jan 17, 8:51 pm, maya <maya778...@xxxxxxxxx> wrote:
why does tomcat sometimes give so little info on what is causing an
error... how am I supposed to know what causes this error??

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

[ info missing here it seems...........]

Stacktrace:

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)

the stacktrace is useless if it doesn't show you line in YOUR FILE where
error is occurring.... :( this is very annoying.. (tomcat 5.5..)

thank you....

JSP has a fairly loose syntax, so the compiler might have difficulty
determining where exactly the error is, it just knows that the whole
file has incorrect syntax?
.



Relevant Pages

  • Re: CSWS_JAVA v2.1 - Tomcat v4.1.24 - update/upgrade Tomcat?
    ... >>error when deployed to my Tomcat installation on OpenVMS. ... type Exception report ... Unable to compile class for JSP ...
    (comp.os.vms)
  • Re: Tomcat 5 Wierdness
    ... Unable to compile class for JSP ... The problem seems to be that, sometime after Tomcat 3.x and before ... WEB-INF/classes directory. ...
    (alt.os.linux.suse)
  • Re: unable to compile class for JSP..
    ... org.apache.jasper.JasperException: Unable to compile class for JSP: ... I haven't changed A THING in this respect, have also not changed Tomcat ... "The generated java code and the class file for this Servlet are stored ... time I loaded this same JSP a few days ago... ...
    (comp.lang.java.help)
  • Re: jsp and classpath
    ... Unable to compile class for JSP ... the JSP compiler treats crazyClass as a variable but ...
    (comp.lang.java.programmer)
  • [LoWNOISE] Tomcat 3.2.1 ..0 DoS (WinNT)
    ... --[Jakarta-Tomcat v3.2.1 Maybe Others] ... Internal Servlet Error: ... Unable to compile class for JSP ... This info will help debug any jsp. ...
    (Bugtraq)