I run into the same problem. After changing from 2.0.4 to GWT 2.1.0 I can't execute the tests anymore.
The tests fail with error: --- gwt-maven-plugin:2.1.0:test (gwtcompile) @ dashboardClient --- [ERROR] java.lang.NoClassDefFoundError: com/google/gwt/dev/cfg/ Condition [ERROR] at com.google.gwt.junit.client.GWTTestCase.createStrategy(GWTTestCase.java: 355) [ERROR] at com.google.gwt.junit.client.GWTTestCase.getStrategy(GWTTestCase.java: 272) [ERROR] at com.google.gwt.junit.client.GWTTestCase.getSyntheticModuleName(GWTTestCase.java: 290) [ERROR] at com.google.gwt.junit.client.GWTTestCase.setName(GWTTestCase.java:336) [ERROR] at junit.framework.TestSuite.createTest(TestSuite.java:63) [ERROR] at junit.framework.TestSuite.addTestMethod(TestSuite.java: 283) [ERROR] at junit.framework.TestSuite.<init>(TestSuite.java:146) [ERROR] at junit.framework.TestSuite.<init>(TestSuite.java:175) [ERROR] at junit.runner.BaseTestRunner.getTest(BaseTestRunner.java: 117) [ERROR] at junit.textui.TestRunner.start(TestRunner.java:179) [ERROR] at org.codehaus.mojo.gwt.test.MavenTestRunner.main(MavenTestRunner.java: 63) [ERROR] Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.cfg.Condition [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [ERROR] at java.security.AccessController.doPrivileged(Native Method) [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: 301) [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [ERROR] ... 11 more [ERROR] com/google/gwt/dev/cfg/Condition On 7 Nov., 16:10, Jeff Larsen <[email protected]> wrote: > I get the same error. > > I tried added gwt-dev 2.1.0 as a test dependency, but then it wants me > go to URLs in a browser... I just want it to run my test suite. > > On Nov 6, 8:08 pm, Yaakov <[email protected]> wrote: > > > > > > > > > Well, I tried that. It now fails with this in the testing phase: > > > ***************** > > [INFO] [gwt:test {execution: test}] > > [ERROR] java.lang.NoClassDefFoundError: com/google/gwt/dev/cfg/ > > Condition > > [ERROR] at > > com.google.gwt.junit.client.GWTTestCase.createStrategy(GWTTestCase.java: > > 355) > > [ERROR] at > > com.google.gwt.junit.client.GWTTestCase.getStrategy(GWTTestCase.java: > > 272) > > [ERROR] at > > com.google.gwt.junit.client.GWTTestCase.getSyntheticModuleName(GWTTestCase. > > java: > > 290) > > [ERROR] at > > com.google.gwt.junit.client.GWTTestCase.setName(GWTTestCase.java:336) > > [ERROR] at junit.framework.TestSuite.createTest(TestSuite.java: > > 63) > > [ERROR] at > > junit.framework.TestSuite.addTestMethod(TestSuite.java:283) > > [ERROR] at junit.framework.TestSuite.<init>(TestSuite.java: > > 146) > > [ERROR] at junit.framework.TestSuite.<init>(TestSuite.java: > > 175) > > [ERROR] at > > junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:117) > > [ERROR] at junit.textui.TestRunner.start(TestRunner.java:179) > > [ERROR] at > > org.codehaus.mojo.gwt.test.MavenTestRunner.main(MavenTestRunner.java: > > 63) > > [ERROR] Caused by: java.lang.ClassNotFoundException: > > com.google.gwt.dev.cfg.Condition > > [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java: > > 202) > > [ERROR] at java.security.AccessController.doPrivileged(Native > > Method) > > [ERROR] at > > java.net.URLClassLoader.findClass(URLClassLoader.java:190) > > [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java: > > 307) > > [ERROR] at sun.misc.Launcher > > $AppClassLoader.loadClass(Launcher.java:301) > > [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java: > > 248) > > [ERROR] ... 11 more > > [ERROR] com/google/gwt/dev/cfg/Condition > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] BUILD ERROR > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] There was test failures. > > ***************** > > > On Nov 5, 6:49 pm, Thomas Broyer <[email protected]> wrote: > > > > On 5 nov, 22:01, Yaakov Chaikin <[email protected]> wrote: > > > > > Never mind... It was the version of the gwt-maven-plugin... However, > > > > now, I can't get it to install. What version of the gwt-maven-plugin > > > > am I supposed to use with the latest 2.1.0 release of GWT and which > > > > repository does it reside in? > > > > You can use either the 1.3.2.google version from > > > thehttp://google-web-toolkit.googlecode.com/svn/2.1.0/gwt/maven/ > > > repository, or the 2.1.0 version from Maven Central (released today) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
