GWT Junit在升级到2.8.2后失败

GWT Junit在升级到2.8.2后失败,junit,gwt,compiler-errors,Junit,Gwt,Compiler Errors,我一直在为我的一个项目使用GWT2.4。最近,我将GWT版本升级到了2.8.2,而现有的Junit却无缘无故地失败了。请帮我解决这个问题 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.769 sec ------------- Standard Error ----------------- Unknown argument: -standardsMode Google Web Toolkit 2.8.2 --

我一直在为我的一个项目使用GWT2.4。最近,我将GWT版本升级到了2.8.2,而现有的Junit却无缘无故地失败了。请帮我解决这个问题

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.769 sec
------------- Standard Error -----------------
Unknown argument: -standardsMode
Google Web Toolkit 2.8.2
------------- ---------------- ---------------

Testcase: testOne took 0.537 sec
Caused an ERROR Error processing shell arguments
com.google.gwt.junit.JUnitFatalLaunchException: Error processing shell arguments
at com.google.gwt.junit.JUnitShell.getUnitTestShell(JUnitShell.java:696)
at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:682)
at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:421)
at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:247)


 [exec] -test.dev:
 [exec]     [mkdir] Created dir: C:\gitrepos\Python\petroApps\isdBuild\JDK_1.8\isdApps\topaz\gui\impl\web\client\gwt\pres\reports\htmlunit.dev
 [exec]     [junit] WARNING: multiple versions of ant detected in path for junit 
 [exec]     [junit]          jar:file:/C:/gitrepos/Python/petroApps/isdMWare/buildTools/apache/ant/V1.9.6/lib/ant.jar!/org/apache/tools/ant/Project.class
 [exec]     [junit]      and jar:file:/C:/gitrepos/Python/petroApps/isdMWare/java/apis/google/gwt/V2.8.2/lib/gwt-dev.jar!/org/apache/tools/ant/Project.class
 [exec]     [junit] Running com.verifone.isd.topaz.gui.impl.web.client.gwt.pres.POSPresTestSuite
 [exec]     [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.769 sec

 [exec] BUILD FAILED
在GWT 2.7.0(RC1)中,已删除
-standardsMode

“删除的标志:-standardsMode、-nostandardsMode、-quirksMode。(GWTTestCase测试始终在标准模式下的HTML页面中运行)。”

见:

要解决您的问题,请删除该论点