commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From azalis <azali...@gmail.com>
Subject NoSuchMethodException
Date Mon, 26 Feb 2007 13:47:03 GMT

Hi all,
this is the code i executed... following the doc seems to be right... i
created the war with inside commons-fileupload-1.2.jar and
commons-io-1.3.1.jar.
but when i try to execute this
FileItemFactory factory = new DiskFileItemFactory();
//Create a new file upload handler
ServletFileUpload upload = new ServletFileUpload(factory);
Method[] mets = upload.getClass().getMethods();
try {
    //FileItem      List items = upload.parseRequest(request);  <-- here i
ve the error java.lang.NoSuchMethodError
...
} catch() ...

i've this error:

java.lang.NoSuchMethodError:
org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;


any help is appreciated!

tnx,
Luca 
-- 
View this message in context: http://www.nabble.com/NoSuchMethodException-tf3292913.html#a9159055
Sent from the Commons - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message