您的位置:首页 > 其它

The server does not support version 3.1 of the JEE Web module specification.

2017-09-07 18:46 615 查看


The server does not support version 3.1 of the JEE Web module specification.

在服务器Tomcat 7部署时,提示“The server does not support version 3.1 of the JEE Web module specification.”,即服务器不支持3.1版的JEE Web模块规范。

参考http://www.cnblogs.com/xwdreamer/archive/2011/12/09/2296913.html

打开项目根目录下.settings的文件夹,该文件夹下有一个org.eclipse.wst.common.project.facet.core.xml文件,内容如下:

<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="com.genuitec.runtime.generic.jee70"/>
<fixed facet="java"/>
<fixed facet="wst.jsdt.web"/>
<fixed facet="jst.web"/>
<installed facet="java" version="1.7"/>
<installed facet="jst.web" version="3.1"/>
<installed facet="jst.web.jstl" version="1.2.2"/>
<installed facet="wst.jsdt.web" version="1.0"/>
<installed facet="me.hibernate" version="4.1"/>
</faceted-project>



<installed facet="jst.web" version="3.1"/>改成

<installed facet="jst.web" version="3.0"/>这样就可以了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐