I\'ve seen many issues related to this exception here in so and most of them are being solved by adding a \"commons-file-upload\"
jar from apache. I tried to us
javax.servlet.http.HttpServletRequest.getParts() is only available starting with Servlet API 3.0
Things to check:
WEB-INF/web.xml
configured to use Servlet API 3.0 (or newer)WEB-INF/lib
directory.I encountered the same issue. It happened when I switched to Tomcat 6. When I switched back to Tomcat 7, the issue disappeared.