Eclipse报告web.xml文件不存在,即使它确实存在

时间:2014-04-09 14:15:57

标签: gwt war google-eclipse-plugin web-inf

我有一个GWT项目。我创建了web.xml并将其放在webapp / WEB-INF,war / WEB-INF以及war /中。但Eclipse不断向我提出错误

The web.xml file does not exist

当我右键单击错误并查看属性时,我会看到此条目

In folder: <myproject>/war

虽然我把文件放在那里,为什么Eclipse会继续报告错误?

1 个答案:

答案 0 :(得分:6)

请验证

转到

Project -> Properties -> Google -> Web Application -> WAR directory

enter image description here

GWT项目结构

enter image description here

相关问题