I am getting this error when I try to do ant dist on the source code of the struts framework.
Anyone has any idea what might the error be??? I have correctly set path for servlet-api.jar and jsp-api.jar
-------------------------------------------------------------------------
jakarta-struts-1.1-src/src/share/org/apache/struts/upload/MultipartRequestWrapper.java:95: org.apache.struts.upload.MultipartRequestWrapper is not abstract and does not override abstract method getLocalPort() in javax.servlet.ServletRequest
[javac] public class MultipartRequestWrapper implements
HttpServletRequest {
getLocalPort is new in Servlet 2.4
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletRequest.html#getLocalPort()
There are a few others methods like that which were added in Servlet 2.4.
Struts is officially developed against Servlet 2.2, so the best interim solution would be to compile against an earlier version of servlet-api.jar.
Joe
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining."
-- Jef Raskin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]