commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Az@liS" <>
Subject NoSuchMethodException
Date Mon, 26 Feb 2007 12:55:50 GMT
Hi all,
this the code i execute... 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 {
	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!


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message