commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shervin Asgari <>
Subject Strange error with FileUpload
Date Tue, 09 Jan 2007 10:28:40 GMT
Hello. I am developing locally using tomcat and everything works great.
Then when everything was finished I moved my code to Resin to a remote 

I am still using the same libraries as I did before, however, I suddenly 
get this Servlet Exception:

  500 Servlet Exception


/ cannot resolve symbol
symbol  : method isMultipartContent (javax.servlet.http.HttpServletRequest)
location: class org.apache.commons.fileupload.servlet.ServletFileUpload
	boolean isMultipart = ServletFileUpload.isMultipartContent(request);
Note: _moteguiden/_admin/_action/ uses or overrides
a deprecated API.
Note: Recompile with -deprecation for details.
1 error

Seems like it says I am using or overriding a deprecated API, and when I 
checked the libraries again, I saw that it was already a 
commons-fileupload.jar there from before. So I thought, aahh, it must be 
using that one or something, so I renamed it and moved it away from the 
libraries, but I am still getting the same problem.
Remember, this works locally on tomcat, so I don't know why this doesnt 
Maybe this server is importing some other libraries first, which is 
including another version of commons.fileupload.

Shervin Asgari - System Consultant

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

View raw message