JavaServer Faces 2.2 can not be installed : One or more constraints have not been satisfied.

来源:互联网 发布:python中get函数 编辑:程序博客网 时间:2024/05/15 09:03

在用Maven进行springmvc整合时出现:JavaServer Faces 2.2 can not be installed : One or more constraints have not been satisfied.   Dynamic Web Module 3.1 requires Java 1.7 or newer问题


解决方法是如下:


   1、找到此项目


  2、项目中的settings


 3、org.eclipse.wst.common.project.facet.core.xml


 4 、<installed facet="jst.web" version="3.0"/>先改成2.5;保存重启eclipse,然后改回3.0在重复重启eclipse(就是这么傻的动作大哭


5、之后进行项目的maven update



阅读全文
0 0
原创粉丝点击