Change the servlet-api scope into provided to fix error in deployment.