This is what the error i got when i try to deploy maven project to tomcat
mvn tomcat7:deploy
Error :
Precise explanation by Saif asif.
I was using gradle as the build tool. It worked for me to exclude the tomcat-servlet-api.jar which is by default provided by tomcat.
You need to know which of your dependency is transitively adding tomcat-servlet-api.jar to the war and then exclude it using following
compile ('your dependency goes here') {
exclude module:'tomcat-servlet-api'
}