关于The server does not support version 3.0 of the J2EE Web module specification.问题的解决方案
来源:互联网 发布:ubuntu命令行输入中文 编辑:程序博客网 时间:2024/06/05 02:56
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"/>即可。再重启eclipse,运行项目
阅读全文
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 2.5 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
- Android 知识梳理
- sed 工具的高级用法
- My97DatePicker日期插件在谷歌浏览器无法正常显示
- 第八节:在定时中断函数里执行独立按键的扫描程序。
- apache 启动后访问网页提示You don't have permission to access / on this server.
- 关于The server does not support version 3.0 of the J2EE Web module specification.问题的解决方案
- Java并发编程:深入剖析ThreadLocal
- 判断一颗二叉树是否为平衡二叉树
- 简便的golang orm
- Linux 常用基本命令 cal date
- Is Derek lying?
- pip install django失败时的解决办法
- 3417
- 中国安防行业发展趋势四大看点