Forgot the stack trace: com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:262) at com.google.gwt.dev.cfg.ModuleDefLoader$2.load(ModuleDefLoader.java:210) at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:308) at com.google.gwt.dev.cfg.ModuleDefLoader.createSyntheticModule(ModuleDefLoader.java:102) at com.google.gwt.junit.CompileStrategy.maybeCompileModuleImpl2(CompileStrategy.java:165) at com.google.gwt.junit.CompileStrategy.maybeCompileModuleImpl(CompileStrategy.java:112) at com.google.gwt.junit.SimpleCompileStrategy.maybeCompileModule(SimpleCompileStrategy.java:36) at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1340) at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1309) at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:650) at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:441) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:296) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:98) at org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:117) at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
2011/7/28 Andreas Horst <[email protected]> > Hi All > > Is anybody successfully running GWTTestCase (2.3) using the surefire plugin > version 2.9? If so could you share your surefire configuration? > > > I just recently switched to latest version of surefire for staying up to > date and now have problems running my GWTTestCases with it. My surefire > configuration is derived from > here<http://stackoverflow.com/questions/2737173/error-when-running-a-gwttestcase-using-maven-gwt-plugin> > : > > <configuration> > > <useSystemClassLoader>false</useSystemClassLoader> > > <additionalClasspathElements> > > > <additionalClasspathElement>${basedir}/src/main/java</additionalClasspathElement> > > > <additionalClasspathElement>${basedir}/src/test/java</additionalClasspathElement> > > </additionalClasspathElements> > > </configuration> > > > and used to work fine with older surefire versions. Switching back to older > versions also works but now I wonder what breaks it exactly. > > The error message is: > > Loading inherited module 'de.my.module.Module' > [ERROR] Unable to find 'de/my/module/Module.gwt.xml' on your classpath; > could be a typo, or maybe you forgot to include a classpath entry for > source? > > Which actually seems to be pretty nonsense since > a) it works with older versions > b) the module is definitely on the classpath (see surefire configuration: > .gwt.xml is in src/main/java; and a)) > > Basic setup: Eclipse EE Indigo on Win7(64) with m2e 1.0.0.20110607, Maven > 3.0.3, Sun JDK 1.6.0_24 > > Cheers > > Andreas > -- 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.
