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?
.