You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michael Forster <mp...@muckworld.com> on 2004/02/28 18:48:42 UTC
Problem compiling jsp's
I have tomcat running but it is suddenly not compiling at all (even a simple
JSP page)
It serves the tomcat homepage but won't compile any new jsp's any ideas?
the error I get is
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:587)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.jav
a:177)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
96)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
root cause
java.lang.NullPointerException
org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClas
sLoader.java:1793)
Mike.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM d- s:+ a C++++ UL++++ P+ L+++ E--- W+++ N+++ o+ K w++++
O-- M- V- PS+ PE+ Y+ PGP t+++ 5+++ X- R+++ tv++ h++ DI++++ D++
G e+ h++ r+++ y+++
------END GEEK CODE BLOCK------
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.596 / Virus Database: 379 - Release Date: 26/02/2004
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Problem compiling jsp's
Posted by Michael Forster <mp...@muckworld.com>.
Found the problem :-)
I had accidentally removed the WEB-INF and web.xml file.
putting a copy back and it all sprang into life - nice to know that it is
important though....
Mike.
> -----Original Message-----
> From: Michael Forster [mailto:mpforste@muckworld.com]
> Sent: 28 February 2004 17:49
> To: Tomcat-User
> Subject: Problem compiling jsp's
>
>
> I have tomcat running but it is suddenly not compiling at all
> (even a simple
> JSP page)
> It serves the tomcat homepage but won't compile any new jsp's any ideas?
>
> the error I get is
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented it
> from fulfilling this request.
>
> exception
>
> org.apache.jasper.JasperException: Unable to compile class for JSP
>
> org.apache.jasper.JspCompilationContext.load(JspCompilationContext
.java:587)
>
> org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletW
rapper.jav
> a:177)
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrap
per.java:2
> 96)
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
>
> root cause
>
> java.lang.NullPointerException
>
> org.apache.catalina.loader.WebappClassLoader.findResourceInternal(
WebappClas
> sLoader.java:1793)
>
>
> Mike.
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GCM d- s:+ a C++++ UL++++ P+ L+++ E--- W+++ N+++ o+ K w++++
> O-- M- V- PS+ PE+ Y+ PGP t+++ 5+++ X- R+++ tv++ h++ DI++++ D++
> G e+ h++ r+++ y+++
> ------END GEEK CODE BLOCK------
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.596 / Virus Database: 379 - Release Date: 26/02/2004
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.596 / Virus Database: 379 - Release Date: 26/02/2004
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.596 / Virus Database: 379 - Release Date: 26/02/2004
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org