Can not change version of project fact Dynamic Web Module to 3.0 Solution

Today the new Maven Web project on the Eclipse when you want to change the Dynamic Web Module version 3.0. But by choosing Properties on the Eclipse project, and select Project Facets inside select Dynamic Web Module, will be revised to 2.3 3.0, suggesting Can not change version of project fact Dynamic Web Module to 3.0.
Solution:
1, check the JDK version 1.7 and Compiler Level and changed.
2, there is a .settings folder, open org.eclipse.wst.common.project.facet.core.xml, with the following modifications in the course catalog:
<installed facet="jst.web" version="3.0"/>。

Reproduced in: https: //my.oschina.net/guanzhenxing/blog/232858

Guess you like

Origin blog.csdn.net/weixin_33971130/article/details/92625355