File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception in Tomcat
 
Similar Threads
error in jsp page
How to access a JSP Page-Urgent
shopping cart -MS Access & JSP Connections
Problem faced in Tomcat 4.0.4
JSP scriptlet