> -----Original Message----- > From: Abhishek Khandelwal [mailto:[EMAIL PROTECTED] > Sent: Monday, May 10, 2004 5:08 PM > To: Struts Developers List > Subject: building struts from source code > > > 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
You're building against the Servlet 2.4 API, with which Struts is not yet compatible. (The getLocalPort() method was added to the Servlet API for version 2.4.) If you try building against the Servlet 2.3 (or 2.2) API, you should have more success. -- Martin Cooper > > ------------------------------------------------------------------------- > > jakarta-struts-1.1-src/src/share/org/apache/struts/upload/Multipar > tRequestWrapper.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 { > > > ------------------------------------------------------------------ > --------- > > Thanks, > Abhishek > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]