The server does not support version 3.0 of the J2EE Web module specification
来源:互联网 发布:js常用正则表达式大全 编辑:程序博客网 时间:2024/06/06 17:07
The server does not support version 3.0 of the J2EE Web module specification
转自:http://www.cnblogs.com/xwdreamer/archive/2011/12/09/2296913.html
1.错误:
在eclipse中使用run->run on server的时候,选择tomcat6会报错误:The server does not support version 3.0 of the J2EE Web module specification
2.原因:
Tomcat 6.0最多支持Servlet 2.5,而现在要import的项目是3.0版本的。
3.解决方法:
在项目根目录下有一个.settings的文件夹,该文件夹下有一个org.eclipse.wst.common.project.facet.core.xml文件,内容如下:
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="java"/>
<fixed facet="jst.web"/>
<fixed facet="wst.jsdt.web"/>
<installed facet="java" version="1.6"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>
把
<installed facet="jst.web" version="3.0"/>
改为
<installed facet="jst.web" version="2.5"/>
即可
- The server does not support version 3.0 of the J2EE Web module specification
- The server does not support version 3.0 of the J2EE Web module specification
- The server does not support version 3.0 of the J2EE Web module specification
- the server does not support version 3.0 of the J2EE Web module specification
- The server does not support version 3.0 of the J2EE Web module specification
- The server does not support version 3.0 of the J2EE Web module specification
- The server does not support version 3.0 of the J2EE Web module specification
- The server does not support version 3.0 of the J2EE Web module specification
- The server does not support version 3.0 of the J2EE Web module specification
- The server does not support version 3.0 of the J2EE Web module specification
- The server does not support version 3.0 of the J2EE Web module specification
- The server does not support version 3.0 of the J2EE Web module specification
- The server does not support version 3.0 of the J2EE Web module specification 的改进方法
- Tomcat 错误:The server does not support version 3.0 of the J2EE Web module specification
- 【转】The server does not support version 3.0 of the J2EE Web module specification
- The server does not support version 3.0 of the J2EE Web module specification
- The server does not support version 3.0 of the J2EE Web module specification
- The server does not support version 3.0 of the J2EE Web module specification
- AC 自动机 水题 hdu 3065
- android 获取屏幕高度和宽度的方法需要注意的问题
- 字符串中第一个只出现一次的字符
- C#.获取当前网络的ip.多网卡环境
- 玩儿转C语言:声明和定义(1)
- The server does not support version 3.0 of the J2EE Web module specification
- aapt的常用命令
- 立波设置管家:安卓手机快速设置的优秀工具
- Debian中安装VMware-tools_2012年11月24日
- Android热插拔事件处理流程--Vold
- 当用js动态的改变一个输入框中的值后,并不能触发它的onchange事件why?
- VS 2010 - error LNK1123: failure during conversion to COFF: file invalid or corrupt
- 常用adb命令
- hdu 2222 AC自动机 。。