Gregory Mazur Gregory Mazur - 1 year ago 130
Java Question

Servlet cannot be resolved in web.xml

For some reason idea lights dispatcher servlet and when I launch tomcat get the 404 error. I`m using spring mvc and Maven, here is the picture of web.xml web.xml
Appreciate every answer=)

<web-app xmlns=""

Answer Source

Found the problem, was using the tomcat7-maven-plugin with compile version of maven-compiler-plugin 1.8, after changing it to 1.7 the problem gone. However is there any similar solutions to tomcat7-maven-plugin?, cause I didnt find tomcat8-maven-plugin in internet

Thanks everyone for participation

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download