首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

添加项目时提醒"Tomcat version 5.5 only supports J2EE 1.2, 1.3, and 1.4 Web modules

2012-06-28 
添加项目时提示Tomcat version 5.5 only supports J2EE 1.2, 1.3, and 1.4 Web modules在用eclipse添加

添加项目时提示"Tomcat version 5.5 only supports J2EE 1.2, 1.3, and 1.4 Web modules"

在用eclipse添加项目进行发布时,

?

出现如下出错提示:

?

"Tomcat version 5.5 only supports J2EE 1.2, 1.3, and 1.4 Web modules”

?

解决办法:

?

在项目目录下面,.settings/中,

?

找到 org.eclipse.wst.common.project.facet.core.xml 文件进行编辑,

?

?

对其中的节点:

?

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

?

修改成如下即可:

?

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

?

?

?

2. 另:解决eclipse中Errors running builder JavaScript Validator的问题:

?

Errors occurred during the build.
Errors running builder 'JavaScript Validator' on project XXXX.
java.lang.NullPointerException.

?

要解决这个问题,要就把JavaScript Validator去掉。去掉的方法是:

项目右键Properties—-Builders,将"JavaScript Validator"的【√】去掉即可。

?

热点排行