it is just that ur tools.jar is not included in ur classpath.. set that..
and everything will work like clockwork.

-Anoop
-----Original Message-----
From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 10:28 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: problem with 4.0.4 JSP pages first install


Clay, I just now used the JSP example that you supplied a link to, and it
worked
just fine!!
--- Clay Graham <[EMAIL PROTECTED]> wrote:
> followup:
> 
> I found this error in the log file:
> 
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
> 
> so it seems jasper is failing, because...I installed JRE, not JDK, which I
have
> now done and it works fine....
> 
> sorry....
> 
> clay
> 
> 
> 
> -----Original Message-----
> From: Clay Graham [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, June 24, 2002 9:07 PM
> To:   'Tomcat Users List'
> Subject:      problem with 4.0.4 JSP pages first install
> 
> Ok, so I gave up trying to get JRE 1.3 and tomcat 4.0.3 working, it just 
> wouldn't work.
> 
> nobody helped me so i just moved on, I know a brick wall when I see it,
and 
> hate a bloody forehead. I now have JRE 1.4 and tomcat 4.0.4 installed, and

> the servlet examples are working. The problem is the JSP examples aren't. 
> Here's an example...
> 
> from:http://localhost:8080/examples/jsp/num/numguess.jsp
> 
> Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error
> 
> ------------------------------------------------------------------------  
> --------
> 
> type Exception report
> 
> message Internal Server Error
> 
> description The server encountered an internal error (Internal Server 
> Error) that prevented it from fulfilling this request.
> 
> exception
> 
> javax.servlet.ServletException: sun/tools/javac/Main
>       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:481)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 
> any ideas where my install went wrong?
> 
> Clay
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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

Reply via email to