wood burning stoves 2.0*
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Exception in Tomcat " Watch "Exception in Tomcat " New topic
Author

Exception in Tomcat

Sid Scud
Ranch Hand

Joined: Mar 13, 2001
Posts: 32
HI ALl
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$jsp.java:16: Class or interface declaration expected.
import javax.servlet.*;
^
E:\Tomcat\jakarta-tomcat-4.0.4\work\Standalone\localhost\testapp\accounts\Test$jsp.java:22: 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..
-Siddharth
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?
 
Don't get me started about those stupid light bulbs.
 
subject: Exception in Tomcat
 
Similar Threads
shopping cart -MS Access & JSP Connections
How to access a JSP Page-Urgent
Problem faced in Tomcat 4.0.4
JSP scriptlet
error in jsp page