I am working on Blackberry webworks, Phonegap framework, Apache Ant and configured them in Eclipse 3.6 with sample index.html.
I followed the article Getting Starte
Right click on your project >>> Properties >>> Project Facets >>> uncheck Static web Module.
In the maven web project.
It's Solve in my case, try once in your case.
I tried the previous response and was not very successful.
Do this:-
install Eclipse Java EE Developer Tools using the Eclipse -> Help -> Install new software -> Work with -> (your Eclipse version's download repository. e.g.:) Indigo.
In the filter field type, then checkbox, Eclipse Java EE Developer Tools.
Download and let it install. No more problems.
Maybe you have a wrong item in Runtime settings of Project Facets. Right click on project >>> Properties >>> Project Facets >>> Runtime and modify it. Runtime settings of Project Facets