Hi all,

Could anybody tell how to run a jsp in iPlanet 4.1 server (Sun OS).
I already enabled JSP.
But I am getting a compilation error like this

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

[09/Aug/2000:00:35:34] info (15290): Internal Info: loading servlet
/Check.jsp
[09/Aug/2000:00:35:35] warning (15290): Internal error: Unexpected Java
exception thrown (java.lang.NoClassDefFoundError:
sun/tools/javac/Main,sun/tools/javac/Main), stack:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
        at com.netscape.server.http.servlet.IWSJavaC.compile(IWSJavaC.java,
Compiled Code)
        at
com.netscape.server.http.servlet.IWSJavaCompiler.compile(IWSJavaCompiler.jav
a, Compiled Code)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java,
Compiled Code)
        at
com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java,
Compiled Code)
        at
com.netscape.server.http.servlet.NSServletEntity.(NSServletEntity.java,
Compiled Code)
        at
com.netscape.server.http.servlet.NSServletRunner.loadServlet(NSServletRunner
.java, Compiled Code)
        at
com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav
a, Compiled Code)

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


(I read in the documentation of some other server that the above error comes
when the "javac" is not in the path, and I changed the JDK path and tested.
still the result is the same, I have JDK 1.1.8 on the server)

I heve used a simple JSP to print some numbers.
The server is already configured for servlets (I mean, all the paths), and I
am able to run servlets.

Is there any other settings needed.

Thanx in advance

-Deepu

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to