title: java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest
body: <p>I am handling file uploads by a multipart filter as described <a href="http://balusc.blogspot.com/2007/11/multipartfilter.html" rel="noreferrer">here</a>. I created a WAR file and deployed on Weblogic 10.3.3 server and got error:</p>
  
  <pre><code>&lt;Dec 8, 2011 5:37:07 PM IST&gt; &lt;Error&gt; &lt;HTTP&gt; &lt;BEA-101020&gt; &lt;[ServletContext@26087289[app:playground module:playground.war path:/playground spec-version:null]] Servlet failed with Exception
  java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;
      at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126)
      at net.balusc.webapp.MultipartFilter.parseRequest(MultipartFilter.java:169)
      at net.balusc.webapp.MultipartFilter.doFilter(MultipartFilter.java:123)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
      Truncated. see log file for complete stacktrace
  </code></pre>
  
  <p>Then I deployed same WAR file on Tomcat 7.0.11 server and it is successfully running. How is this caused and how can I deploy successfully on Weblogic?</p>