The server does n…
2014-01-03 16:15
344 查看
在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"/>
即可
相关文章推荐
- Does the RTSP implementation (client and/or server) support 'trick mode' operations
- 关于&quot;The&nbsp;RPC&nbsp;server&nbsp;is&nbsp;unavailab…
- What does the lic…
- Potential causes of the "SQL Server does not exist or access denied" error message
- 如何解决sql server2005的“不允许远程连接”错误.(how to resolve the error: "SQL Server does not allow remote connections" for SQL Server2005)
- Fix the error of ""Server does not support secure connections. " ?" when sending email
- Unable to locate the server named "localhost" --- the server does not have a DNS entry. Perhaps ther
- The server does not support version 3.0 of the J2EE Web module specification
- ADO.NET Entity Framework: The version of SQL Server in use does not support datatype 'datetime2'
- VS2012链接SQL Server 2012数据库
- The server does not support version 3.0 of the J2EE Web module specification
- HDOJ&nbsp;1028&nbsp;&nbsp;&nbsp;Ignatius&nbsp;and&nbsp;the&nbsp;Pri…
- msxml3.dll 错误 '80072efd' A connection with the server could not be established
- About the new project.
- 上“海”-Cycle to the sea.
- sql&nbsp;server&nbsp;登录名密码丢失(忘记…
- 设置SQL Server数据库AWE机制…
- 如何灵活运用SQL&nbsp;Server&nbsp;2005&nbsp;SSIS…
- Win 2008 R2安装SQL Server …