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:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --- > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
