I have the last version of commons-fileupload (commons-fileupload-1.0.jar) -----Original Message----- From: Shah, Shrihas (OFT) [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 7 de Julho de 2004 20:31 To: Jakarta Commons Users List Subject: RE: FileUpload.setSizeMax(I)V Error
HI Eurico: You may not have the proper version of commons-fileupload.jar file. Get the latest version and you should be all set. I had this problem too. I hope this helps Shrihas. Shrihas Shah NYS Office for Technology [EMAIL PROTECTED] Phone (518) 473-5023 Fax (518) 473-3389 (US Postal Service Regular Mail Address) State Capitol ESP, PO Box 2062 Albany, NY 12220-0062 (Parcel Post/Overnight and Interagency Mail Address) Empire State Plaza Swan St., Core 4, 1st Floor Albany, NY 12223 -----Original Message----- From: Eurico Frade [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 3:05 PM To: [EMAIL PROTECTED] Subject: FileUpload.setSizeMax(I)V Error I'm using Jboss and I'd put the commons-fileupload-1.0.jar in the classpath. When I run the struts-upload.war example I have the following error. What should I do? Thanks java.lang.NoSuchMethodError: org.apache.commons.fileupload.FileUpload.setSizeMax(I)V at org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(Co mmon sMultipartRequestHandler.java:220) at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:934) at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcess or.j ava:779) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java: 246) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:366) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH andl er.java:284) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:577) at org.mortbay.http.HttpContext.handle(HttpContext.java:1674) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon text .java:544) at org.mortbay.http.HttpContext.handle(HttpContext.java:1624) at org.mortbay.http.HttpServer.service(HttpServer.java:875) at org.jboss.jetty.Jetty.service(Jetty.java:541) at org.mortbay.http.HttpConnection.service(HttpConnection.java:785) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:935) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:802) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:200 ) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:294) at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743) at java.lang.Thread.run(Thread.java:534) --------------------------------------------------------------------- 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]
