解决JavaServer Faces 2.2 can not be installed : One or more constraints have not been satisfied错误
2018-01-30 16:05
330 查看
1. 根据自身情况修改web.xml中的<webapp>中的内容:
我的修改为:
<?xml version="1.0" encoding="UTF-8"?>
<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">
2.关闭eclipse
修改项目文件加中的.seting\org.eclipse.wst.common.project.facet.core文件
我的修改为:
<installed facet="jst.web" version="3.1"/>
打开eclipse,刷新项目。。。。。。。
我的修改为:
<?xml version="1.0" encoding="UTF-8"?>
<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">
2.关闭eclipse
修改项目文件加中的.seting\org.eclipse.wst.common.project.facet.core文件
我的修改为:
<installed facet="jst.web" version="3.1"/>
打开eclipse,刷新项目。。。。。。。
相关文章推荐
- 解决maven3.5.0项目报错“JavaServer Faces 2.2 can not be installed : One or more constraints”问题
- 项目报错“JavaServer Faces 2.2 can not be installed : One or more constraints”等一系列问题
- 项目报错“JavaServer Faces 2.2 can not be installed : One or more constraints”等一系列问题
- JavaServer Faces 2.2 can not be installed
- 项目报错“JavaServer Faces 2.2 can not be installed : One or more constraints”等一系列问题
- JavaServer Faces 2.2 can not be installed : One or more constraints have not been satisfied.
- JavaServer Faces 2.0 can not be installed解决方案
- JavaServer Faces 2.0 can not be installed解决方案
- JavaServer Faces 2.0 can not be installed解决方案
- JavaServer Faces 2.0 can not be installed解决方案
- JavaServer Faces 2.0 can not be installed解决方案
- JavaServer Faces 2.0 can not be installed解决方案
- JavaServer Faces 2.0 can not be installed
- maven ssm项目报错javaserver faces 2.2 can not been 。。。
- JavaServer Faces 2.X can not be installed解决方案
- java.lang.IllegalArgumentException: FacesContext must not be null 错误分析及解决
- 问题解决:java.sql.SQLException:Value '0000-00-00' can not be represented as java.sql.Date
- 问题解决:java.sql.SQLException:Value '0000-00-00' can not be represented as java.sql.Date
- java.sql.SQLException:Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp错误解决
- 错误:Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp;的解决