eclipse maven web 工程显示以下问题:
JavaServer Faces 2.2 can not be installed : One or more constraints have not been satisfied
JavaServer Faces 2.2 requires Dynamic Web Module 2.5 or newer
解决方法:
修改jst.web=2.4,jst.jsf=2.0
org.eclipse.wst.common.project.facet.core.xml:
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="wst.jsdt.web"/>
<installed facet="maven" version="1.0"/>
<installed facet="wst.jsdt.web" version="1.0"/>
<installed facet="java" version="1.7"/>
<installed facet="jst.jaxrs" version="2.0"/>
<installed facet="jst.web" version="2.4"/>
<installed facet="jst.jsf" version="2.0"/>
</faceted-project>