You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Januski, Ken" <kj...@phillynews.com> on 2004/02/24 23:36:05 UTC

All jsps fail with JasperException

No luck with a reboot. All jsps are failing to compile with the message
noted below.

-----Original Message-----
From: Januski, Ken [mailto:kjanuski@phillynews.com]
Sent: Tuesday, February 24, 2004 3:51 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1.2 jsps fail with JasperException


This Tomcat installation was done with a JRE, by someone else, rather than
SDK. I installed the SDK an hour or so ago and changed Java_Home to reflect
that but I'm wondering if it won't take effect until I reboot server. I'm
hoping that the reboot will solve the problem.


-----Original Message-----
From: Januski, Ken [mailto:kjanuski@phillynews.com]
Sent: Tuesday, February 24, 2004 3:23 PM
To: Tomcat Users List
Subject: Tomcat 4.1.2 jsps fail with JasperException


org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null Generated servlet error:
[javac] Compiling 1 source file 
This is on a new install of Tomcat 4.1.2. This example fails at
localhost:8080. I can get the servlet examples to work by going directly to
them, e.g. localhost:8080/examples/servlet/index.html but the default page
and many others fail with the above error. Anyone have any idea where to
start looking?