Open up the generated Java file, but I believe that you will see
some extra stuff before the imports from something at the top of your JSP
file that shouldn't be there.
Randy
> -----Original Message-----
> From: john bell [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 18, 2002 3:08 PM
> To: [EMAIL PROTECTED]
> Subject: org.apache.jasper.JasperException: Unable to compile
> class for
> JSP
>
>
> Hi,
>
> Running a web application on Tomcat 3.3 and trying to move to
> Tomcat 4.0.2 and now get these errors.
>
> org.apache.jasper.JasperException: Unable to compile class for JSP
> C:\ApacheTomcat\jakarta-tomcat-4.0.2\work\localhost\coffee\jsp
> \control\homecont$jsp.java:8:
> Class or interface declaration expected.
> import javax.servlet.*;
> ^
>
> C:\ApacheTomcat\jakarta-tomcat-4.0.2\work\localhost\coffee\jsp
> \control\homecont$jsp.java:14:
> Superclass org.apache.jsp.HttpJspBase of class
> org.apache.jsp.homecont$jsp not found.
> public class homecont$jsp extends HttpJspBase {
>
> I guess it it some thing very basic - I have looked.
>
> John.
>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>