This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Exception in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Exception in Tomcat " Watch "Exception in Tomcat " New topic

Exception in Tomcat

Sid Scud
Ranch Hand

Joined: Mar 13, 2001
Posts: 32
I am getting the following error ..
org.apache.jasper.JasperException: Unable to compile class for JSP
E:\Tomcat\jakarta-tomcat-4.0.4\work\Standalone\localhost\testapp\accounts\Test$ Class or interface declaration expected.
import javax.servlet.*;
E:\Tomcat\jakarta-tomcat-4.0.4\work\Standalone\localhost\testapp\accounts\Test$ Superclass org.apache.jsp.HttpJspBase of class org.apache.jsp.Test$jsp not found.
public class Test$jsp extends HttpJspBase {

Can someone tell me where things are going wrong?
Thanks in advance..
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

do you have CATALINA_HOME set? Is servlet.jar appearing in your classpath somewhere? Is an older version of servlet.jar in there?
I agree. Here's the link:
subject: Exception in Tomcat
It's not a secret anymore!