The server does not support version 3.0 of the J2EE Web module specification
来源:互联网 发布:乐橙tp1接入网络失败 编辑:程序博客网 时间:2024/05/16 09:07
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
- flex DataGridColumn 固定序号
- layer弹出层
- Delphi中使用ADO连接Excel有感
- LeetCode:Combination Sum
- 一亿以内的阿拉伯数字大小写的转化
- The server does not support version 3.0 of the J2EE Web module specification
- 正修止观的工夫
- NTH_VALUE 取排名
- 因是子静坐法 笔记
- 因为与关键字冲突而导致的"update语句的语法错误"问题解决方法
- You do not have a license for this Vuser type
- exp导出表结构,不导出表数据。
- Android面试题
- already exists but is not a source folderalready exists but is not a source