一.报错内容
Maven Java EE Configuration Problem
Cannot change version of project facet Dynamic Web Module to 3.0
二.解决方案
1.打开web项目下./settings/org.eclipse.wst.common.project.facet.core.xml
内容如下:
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="wst.jsdt.web"/>
<installed facet="java" version="1.7"/>
<installed facet="jst.web" version="2.3"/>
<installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>
2.将jst.web的version改成3.0.
...
<installed facet="jst.web" version="3.0"/>
...
网友评论