The server does not support version 3.0 of the J2E
2016-04-14 00:00
441 查看
摘要: The server does not support version 3.0 of the J2EE Web module specification
把
改为
即可
1.错误:
在eclipse中使用run->run on server的时候,选择tomcat6会报错误:The server does not support version 3.0 of the J2EE Web module specification2.原因:
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"&nbs 3ff0 p;version="2.5"/>
即可
相关文章推荐
- Netty ChannelPipeline动态修改ChannelHandler
- HttpClient 和 HttpUrlConnection 简单封装
- 微信营销新技巧,所有企业都要知道!
- 一、获取子类DAO继承父类DAO的泛型参数类型的Class对象
- TextView 各种用法
- 十条非常有用的jQuery代码片段
- Android多媒体之处理视频
- jQuery实现的音乐播放试听列表
- docker在win10上安装
- mysql join用法分析
- No exception back trace log
- c++中隐藏、覆盖、重载的判断
- 理解同步、异步和阻塞、非阻塞
- 单例模式
- 单例模式与序列化
- 计算一个对象占用的内存大小
- 常用的位运算:int与byte[]互相转换
- 使用Spring Data Redis实现缓存遇到的一些问题
- 超低功耗水气表GSM/GPRS无线抄表模块
- 【企业网盘】漫云端,获取的不单是快捷,还有高效的办公!