The server does not support version 3.0 of the J2EE Web module specification
来源:互联网 发布:什么软件可以找工作 编辑:程序博客网 时间:2024/06/11 17:21
原文地址:http://www.cnblogs.com/xwdreamer/archive/2011/12/09/2296913.html
.错误:
在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"/>
即可
0 0
- 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
- Nginx源代码分析之锁的实现(十八)
- 清空客户端缓存[javascript]
- Hololens入门之语音识别(语音听写)
- 使用Memory Analyzer tool(MAT)分析内存泄漏(一)
- js复制代码
- The server does not support version 3.0 of the J2EE Web module specification
- Android 广播的安全性
- 指数级增长背后,滴滴出行业务系统的架构升级
- 创建maven项目
- 使用 iOS 8 Spring Animation API 创建动画
- android开机自动启动服务
- 异常简单理解
- http和socket之长连接和短连接区别
- 显示密码和隐藏密码