Hi,

I have migrated an existing application from tomcat 3.3 to tomcat 4.0
and 5.0. When I started the tomcat, I was thrown a lot of errors related
to the tags in the tld file.

I corrected those errors and finally got this error thrown: (Pasted
below)

Stack Trace --

HTTP Status 500 - 

------------------------------------------------------------------------
--------

type Exception report

message 

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception 

org.apache.jasper.JasperException: Unable to compile class for JSPNote:
sun.tools.javac.Main has been deprecated.

D:\jakarta-tomcat-5.0.25\work\Catalina\localhost\cnams\public\Login$jsp.
java:11: class org.apache.jsp.Login$jsp must be declared abstract. It
does not define java.util.List getIncludes() from class
org.apache.jasper.runtime.HttpJspBase.
public class Login$jsp extends HttpJspBase {
             ^

D:\jakarta-tomcat-5.0.25\work\Catalina\localhost\cnams\public\Login$jsp.
java:21: Class org.apache.jasper.runtime.JspException not found in
throws.
    public final void _jspx_init() throws
org.apache.jasper.runtime.JspException {
                                          ^

D:\jakarta-tomcat-5.0.25\work\Catalina\localhost\cnams\public\Login$jsp.
java:35: Class org.apache.jasper.runtime.JspException not found in try.
        try {
        ^
3 errors, 1 warning

        org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
        
org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
        
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(J
spServlet.java:177)
        
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
t.java:189)
        
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
        
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)


note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.25 logs.

-- End of StackTrace

Now, while browsing the source code for both tomcat 4.0 and 5.0, I could
not find the < JspException.java > file, although they are supposed to
be part of it. The jar files also do not contain the file.

I need some pointers about fixing the problem. Importantly, where is
this file anyways?

Thanks in advance,
Arnab

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to