当前位置: 代码迷 >> Web前端 >> 在eclipse中增添web项目
  详细解决方案

在eclipse中增添web项目

热度:281   发布时间:2012-09-07 10:38:15.0
在eclipse中添加web项目
1、Tomcat 6.0最多支持Servlet 2.5;
在给新建的项目选择server时出现错误提示:The server does not support version 3.0 of the J2EE Web module specification.
在eclipse中右击tomcat是出现错误提示:There are no projects that can be added or removed from the server
  注:出现以上两个问题时可以到项目中的 .settings目录中找到org.eclipse.wst.common.project.facet.core.xml文件
把<installed facet="jst.web" version="3.0"/>修改成<installed facet="jst.web" version="2.5"/>
  相关解决方案