When I compile ApacheJServ-1.1b3 with Apache 1.3.9 in my computer,
it's report the following errors.What's the matter?How to do next?
    My platform:solaris 2.7
    
make[5]: Entering directory
`/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv'
Compiling JServ.java ...
JServ.java:171: class org.apache.jserv.JServConnection is an abstract
class. It can't be instantiated.
                JServConnection connection = new JServConnection();
                                             ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServConnection.java:85:
class org.apache.jserv.JServConnection must be declared abstract. It does
not define javax.servlet.http.HttpSession getSession() from interface
javax.servlet.http.HttpServletRequest.
public class JServConnection
             ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServConnection.java:85:
class org.apache.jserv.JServConnection must be declared abstract. It does
not define boolean isRequestedSessionIdFromURL() from interface
javax.servlet.http.HttpServletRequest.
public class JServConnection
             ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServConnection.java:85:
class org.apache.jserv.JServConnection must be declared abstract. It does
not define java.util.Enumeration getAttributeNames() from interface
javax.servlet.ServletRequest.
public class JServConnection
             ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServConnection.java:85:
class org.apache.jserv.JServConnection must be declared abstract. It does
not define void setAttribute(java.lang.String, java.lang.Object) from
interface javax.servlet.ServletRequest.
public class JServConnection
             ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServConnection.java:85:
class org.apache.jserv.JServConnection must be declared abstract. It does
not define java.lang.String encodeURL(java.lang.String) from interface
javax.servlet.http.HttpServletResponse.
public class JServConnection
             ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServConnection.java:85:
class org.apache.jserv.JServConnection must be declared abstract. It does
not define java.lang.String encodeRedirectURL(java.lang.String) from
interface javax.servlet.http.HttpServletResponse.
public class JServConnection
             ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServServletManager.java:564:
class org.apache.jserv.JServContext is an abstract class. It can't be
instantiated.
            context = new JServContext(servlet, this, initargs,
(isAlias?name:null));
                      ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServServletManager.java:955:
class org.apache.jserv.JServSession is an abstract class. It can't be
instantiated.
        JServSession s = new JServSession(getIdentifier(route), this);
                         ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does not
define javax.servlet.ServletContext getContext(java.lang.String) from
interface javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does not
define int getMajorVersion() from interface javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does not
define int getMinorVersion() from interface javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does not
define java.net.URL getResource(java.lang.String) from interface
javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does not
define java.io.InputStream getResourceAsStream(java.lang.String) from
interface javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does not
define javax.servlet.RequestDispatcher
getRequestDispatcher(java.lang.String) from interface
javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does not
define java.util.Enumeration getAttributeNames() from interface
javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does not
define void setAttribute(java.lang.String, java.lang.Object) from
interface javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does not
define void removeAttribute(java.lang.String) from interface
javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServSession.java:74:
class org.apache.jserv.JServSession must be declared abstract. It does not
define int getMaxInactiveInterval() from interface
javax.servlet.http.HttpSession.
public class JServSession implements HttpSession, JServLogChannels,
Serializable {
             ^
/export/home/chen/ApacheJServ-1.1b3/src/java/org/apache/jserv/JServSession.java:74:
class org.apache.jserv.JServSession must be declared abstract. It does not
define void setMaxInactiveInterval(int) from interface
javax.servlet.http.HttpSession.
public class JServSession implements HttpSession, JServLogChannels,
Serializable {
             ^
Note: 4 files use deprecated APIs.  Recompile with "-deprecation" for
details.
20 errors, 1 warning







------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:       [EMAIL PROTECTED]

Reply via email to