您的位置:首页 > 运维架构 > Tomcat

Tomcat version 6.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5

2014-04-29 16:09 357 查看
用eclipse开发web项目时不能加载到tomcat6.0服务器。

如下:

在工程里找到该项目->.settings 文件夹->org.eclipse.wst.common.project.facet.core.xml文件->编辑->

<?xml version="1.0" encoding="UTF-8"?>

<faceted-project>

<installed facet="java" version="1.6"/>

<installed facet="jst.web" version="3.0"/>

<installed facet="wst.jsdt.web" version="1.0"/>

</faceted-project>

<!--将上述内容修改为 -->

<?xml version="1.0" encoding="UTF-8"?>

<faceted-project>

<installed facet="java" version="1.6"/>

<installed facet="jst.web" version="2.5"/>

<installed facet="wst.jsdt.web" version="1.0"/>

</faceted-project>

即修改红字部分
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐