Maven project is not a Java EE project

When you use Maven and you want to run your project on Tomcat you need your project facet to be checked as Dynamic Web Module. Note if you using Apache Tomcat 6.0 you need to check Dynamic Web Module version 2.5.

Step 1: Right click your Maven project.

Step 2: Click on Properties.

Step 3: Click on Project Facets then check Dynamic Web Module.



maven java-ee tomcat