When running my WebApp project from Eclipse most of times it run correctly. But if by mistake to stop server, I kill it in \"Console\" view on instead of \"Stop\" Server from \"
Tried everything with no luck. I just had one project in my eclipse. Shut eclipse down, rename the eclipse directory, unzip it again, started fresh in new eclipse. It worked.
No it is not efficient.
Check this version:
<web-app version="**2.5**" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_**2_5**.xsd" metadata-complete="true">
and
org.eclipse.wst.common.project.facet.core.xml
<installed facet="jst.web" version="**2.5**"/>
It can be incompatible with the chosen server. In my case when I tried to upgrade 3.0 tomcat 6.0 stopped working so I had to revert back to 2.5
so upgrade your server to a highter version or downgrade the web.xml version and run maven --> update project and try again
I have the exact same problem and exact exception, but I solved the problem just by specify package type of POM to war like "war" and right click the project and select 'Maven > Update Project Configuration', then re-deploy that web module to tomcat server, that's it!