tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Trollinger" <jaka...@trollingers.com>
Subject RE: JSP Compilation Error
Date Wed, 29 Jan 2003 16:20:46 GMT
Make sure you have the JDK and not the JRE, if you have the JRE you need
the tools.jar from the JDK, if you have the JDK and still get the
problem make sure tomcats classpath can see tools.jar.

John

> -----Original Message-----
> From: Marcelino Cruz [mailto:mcruz@paychex.com] 
> Sent: Wednesday, January 29, 2003 11:05 AM
> To: Tomcat Users List
> Subject: JSP Compilation Error
> 
> 
> I know that this topic has been covered over and over... I 
> went to the archives but didn't find a solution to my problem.
> 
> I downloaded and installed (on Solaris 8 box) 
> jakarta-tomcat-4.1.18. Unzipped the file (I don't have GNU 
> Tar installed on this machine to get the tar version, and my 
> company has FTP firewall access blocked).
> 
> I have Java v1.4.1_01.  JAVA_HOME is set to the location of 
> the aforementioned Java version.  CATALINA_HOME is set to the 
> installation location of jakarta-tomcat-4.1.18.  I proceed to 
> start tomcat and it comes up.  Then when I try to access it 
> with http://myserver.company.com:8080 I get the following error:
> 
> ---
> 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] Compiling 1 source file
> 
> /export/home/u01/jakarta-tomcat-4.1.18/work/Standalone/localho
> st/_/index_jsp
> .java:266: handlePageException(java.lang.Exception) in 
> javax.servlet.jsp.PageContext cannot be applied to 
> (java.lang.Throwable)
>       if (pageContext != null) pageContext.handlePageException(t);
>                                           ^
> 1 error
> 
> ...and a long stack trace...
> ---
> 
> I've tried everything I've run into in the archives.  Jasper 
> uses Ant.  How can I ensure that the correct jar files are 
> being called so that Jasper/Ant can compile JSP files?  Why 
> isn't it working?  Please help.  I need to evaluate a content 
> management solution (Red Hat's CCM) that runs on top of Tomcat.
> 
> Thank you.
> 
> MC
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message