解决:修改eclipse设置文件
–1. window --showView–navigator
–2. .settings
–3. org.eclipse.wst.common.project.facet.core.xml
–4. 修改为
–5. 成功
–6. 修改约束
如下:
在这里插入代码片
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1" metadata-complete="true">
Archetype Created Web Application
完工??