As a guess I'd say you haven't got tools.jar on your classpath. This would be needed in
jdk1.2 when you invoke the compiler.


John Gbur wrote:

> I am using Netscape Enterprise Server 4.0 SP3 with JDK1.2 and JSDK2.1
> and cannot get JSP to work.
> When I look at the server error log, I see the following:
> -----------------------
> [15/Mar/2000:13:11:47] info ( 1569): Internal Info: loading servlet
> /dev8ms/test2.jsp
> [15/Mar/2000:13:11:47] info ( 1569): recompiling JSP file:
> /8mstmp/8ms2.ofc/src/artweb.new/sparc/test2.jsp
> [15/Mar/2000:13:11:47] warning ( 1569): JSP compilation error:
> java.lang.NoClassDefFoundError: sun/tools/javac/Main, stack:
> java.lang.NoClassDefFoundError:
> sun/tools/javac/Main
>         at com.netscape.server.http.jsp.JSPCompiler.compileJSP(Compiled
> Code)
>         at
> com.netscape.server.http.jsp.JSPCompiler.compileInstance(JSPCompiler.java:252)
>
>         at
> com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:200)
>
>         at
> com.netscape.server.http.servlet.NSServletEntity.<init>(NSServletEntity.java:86)
>
>         at
> 
>com.netscape.server.http.servlet.NSServletRunner.loadServlet(NSServletRunner.java:529)
>
>         at
> com.netscape.server.http.servlet.NSServletRunner.Service(Compiled Code)
> ------------------
>
> Any suggestions?
>
> John Gbur
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

--
Tim Fox (��o)

Hyperlink plc
http://hyperlink.com

email: [EMAIL PROTECTED]
phone: +44 (0) 207 240 8121

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to