You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Srinivasu Gandu <SG...@SoftwareSpecialists.com> on 2003/06/10 15:42:26 UTC
win2000 issue with tomcat4.1.24
Hi all,
I am using win2000 and trying to install and run the tomcat4.1.24, I am
getting an parser exception as follows when I try to access the home page
http://localhost:8080. I also tried not install as service, in that case it
is unable to see the JSP parser servlet. Could some one help on this..
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac] C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\_\index_jsp.java:266:
handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext
cannot be applied to (java.lang.Throwable)
[javac] if (pageContext != null)
pageContext.handlePageException(t);
[javac] ^
[javac] 1 error
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: win2000 issue with tomcat4.1.24
Posted by John Turner <to...@johnturner.com>.
Add JAVA_HOME/bin to your PATH (extend JAVA_HOME to its actual value before
putting it in your PATH). This is new in 4.1.24, I'm not sure why it crops
up...I did a fresh install of 4.1.24 last week Friday, and didn't get the
error. But, the install of 4.1.24 before that did.
John
On Tue, 10 Jun 2003 09:42:26 -0400, Srinivasu Gandu
<SG...@SoftwareSpecialists.com> wrote:
> Hi all,
> I am using win2000 and trying to install and run the tomcat4.1.24, I am
> getting an parser exception as follows when I try to access the home page
> http://localhost:8080. I also tried not install as service, in that case
> it
> is unable to see the JSP parser servlet. Could some one help on this..
>
>
> org.apache.jasper.JasperException: Unable to compile class for JSP
>
> An error occurred at line: -1 in the jsp file: null
>
> Generated servlet error:
> [javac] Since fork is true, ignoring compiler setting.
> [javac] Compiling 1 source file
> [javac] Since fork is true, ignoring compiler setting.
> [javac] C:\Program Files\Apache Group\Tomcat
> 4.1\work\Standalone\localhost\_\index_jsp.java:266:
> handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext
> cannot be applied to (java.lang.Throwable)
> [javac] if (pageContext != null)
> pageContext.handlePageException(t);
> [javac] ^
> [javac] 1 error
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: win2000 issue with tomcat4.1.24
Posted by Jason Bainbridge <ja...@jblinux.org>.
On Tue, 10 Jun 2003 21:42, Srinivasu Gandu wrote:
> handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext
> cannot be applied to (java.lang.Throwable)
> [javac] if (pageContext != null)
> pageContext.handlePageException(t);
Have you installed any other servlet/jsp related classes in the past that
might be sticking around in your classpath or where Tomcat would be able to
see them eg. common/lib, server/lib. webapp/WEB-INF/lib or
webapp/WEB-INF/classes?
It sounds like you have something from the JSP 1.1 spec's hanging around...
Regards,
--
Jason Bainbridge
http://jblinux.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org