The server does not support version 3.0 of the J2EE Web module specification
2017-08-30 13:47
411 查看
Eclipse, Project->Run as->Run on Server
Tomcat 6.x 报错:The server does not support version 3.0 of the J2EE Web module specification
意思是其不支持3.0 版本的Servlet,Apache Tomcat对Servlet的支持版本对应如下:(http://tomcat.apache.org/whichversion.html)
项目根目录下,.settings子目录下org.eclipse.wst.common.project.facet.core.xml文件:
将version 3.0
Tomcat 6.x 报错:The server does not support version 3.0 of the J2EE Web module specification
意思是其不支持3.0 版本的Servlet,Apache Tomcat对Servlet的支持版本对应如下:(http://tomcat.apache.org/whichversion.html)
项目根目录下,.settings子目录下org.eclipse.wst.common.project.facet.core.xml文件:
<?xml version="1.0" encoding="UTF-8"?> <faceted-project> <installed facet="java" version="1.8"/> <installed facet="jst.web" version="3.0"/> <installed facet="wst.jsdt.web" version="1.0"/> </faceted-project>
将version 3.0
<installed facet="jst.web" version="3.0"/>修该成2.5,即可
<installed facet="jst.web" version="2.5"/>
相关文章推荐
- The server does not support version 3.0 of the J2EE Web module specification
- run on server的时候,报出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
- 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 Eclipse的web项不支持tomcat6
- Run on Server报错: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