1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Chicago, IL USA
    Rep Power
    This is my first time compiling ApacheJserv-1.1.2. I'm using JSDK2.0/JDK1.2.2. I can run the configure script fine...


    but when I issue the make command and it tries to compile JServ.java I get this error..

    Compiling JServ.java ...
    JServ.java:61: Package javax.servlet not found in import.
    import javax.servlet.*;
    JServ.java:62: Package javax.servlet.http not found in import.
    import javax.servlet.http.*;
    JServ.java:80: Superclass org.apache.jserv.HttpServlet of class org.apache.jserv.JServ not found.
    public class JServ extends HttpServlet implements JServLogChannels, JServDefs {
    3 errors
    make[5]: *** [JServ.class] Error 1
    make[5]: Leaving directory `/tmp/ApacheJServ-1.1.2/src/java/org/apache/jserv'
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory `/tmp/ApacheJServ-1.1.2/src/java/org/apache'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/tmp/ApacheJServ-1.1.2/src/java/org'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/tmp/ApacheJServ-1.1.2/src/java'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/ApacheJServ-1.1.2/src'
    make: *** [all-recursive] Error 1

    ..If you have any insight at all please please reply.
  2. #2
  3. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    Try to add
    --with-servlets=/path/to/servlets (it's a dir)

    Why you installed JSDK to /JSDK2.0 ?

    >>Leaving directory `/tmp/ApacheJServ-1.1.2/src/java/org/apache/jserv'

    Also, try not to put it in /tmp directory unless your /tmp has lots of space. Normally, you should place it in /usr/local/src.

    [This message has been edited by freebsd (edited August 24, 2000).]

IMN logo majestic logo threadwatch logo seochat tools logo