Home > Archive > Java Help > January 2007 > JSP won't compile... error contains no info......
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
JSP won't compile... error contains no info......
|
|
|
| hi,
I've been working on this project for about two w s 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........
| |
|
| maya wrote:
> hi,
>
> I've been working on this project for about two w s 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..
|
|
|
|
|