更新时间:2022-04-21 03:47:05
此消息的原因是您有一个 *。gwt.xml
c $ c>< inherits name =com.google.gwt.junit.JUnit/> 。没有理由直接包含该模块,当您运行 GWTTestCase
时会自动添加。
The reason for this message is that you have a *.gwt.xml
that <inherits name="com.google.gwt.junit.JUnit" />
. There's no reason to ever include that module directly, it'll be automatically added when you run your GWTTestCase
s.
gwt-maven-plugin原型已知包括这样一个模块虽然(这是我不鼓励使用原型的许多原因之一)。
The gwt-maven-plugin archetype is known to include such a module though (one of the many reasons I discourage using that archetype).
删除违规<继承>
,然后重试(并且不要将建议的servlet添加到web.xml中)。
Remove the offending <inherits>
and try again (and don't add the suggested servlet to your web.xml).