I suspect that either (1) your web.xml is missing, (2) your applicationContext is incorrect, or (3) your versions do not play well together.
Since you are using Netbeans, you can view the server log by doing the following:
- Open the
Services window (if it is not open, go to: Window > Services ) - Right-click on the
Tomcat server and select View Server Log .
Now you can see the actual exception due to which Tomcat will not deploy your war.
source share