Another way is to edit the project facet configuration file itself: org.eclipse.wst.common.project.facet.core.xml
Change the dynamic web module version in this line to 3.0 – <installed facet="jst.web" version="2.5"/>
And then:
- Right-click on the project (in the Project Explorer panel).
- Select Maven ยป Update Project (or press Alt+F5)
You’ll find this file in the .settings
directory within the Eclipse project.