mas*_*y88 2 java eclipse gwt maven
我使用Eclipse 在一个项目中开发我的REST服务器和GWT客户端.为了构建我使用的这个项目Maven.服务器端代码是Spring Framework我开发的,我使用Java而不是XML文件配置,所以我没有任何web.xml文件.
要编译我在maven pom.xml特殊条目中的项目,如下所示:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
Run Code Online (Sandbox Code Playgroud)
应用程序(Spring服务器端和GWT客户端)编译并按预期工作.Eclipse旁边没有问题,它指出我没有web.xml文件.这是完整的Eclipse错误信息:
Description | Resource | Path | Location | Type
The web.xml file does not exist | WEB-INF | /cms/src/main/webapp | Unknown | Google Web App Problem
Run Code Online (Sandbox Code Playgroud)
正如您所看到的,错误来自GWT Eclipse插件.但是这个插件并不知道我只为客户端使用GWT,它不应该向我报告该错误.
我想知道可以以及如何关闭它.