On the Eclipse side, I'd check whether the Jetty dependency is "exported" by the gwt-dev project. If it's not, then it won't be on the classpath of tests from the gwt-user project. It might be that we failed to properly update the Eclipse config files when updating Jetty (it does work for me, but I'm using a very old Eclipse workspace, and maybe Eclipse caches those things somewhere)
On Thursday, February 13, 2014 11:33:12 PM UTC+1, Brian Slesinsky wrote: > > I'm not an Eclipse user, but we did upgrade to Jetty 8.1 in 2.6 and its > package changed. If you put the new version of Jetty in your classpath that > will probably fix it. > > - Brian > > > > On Thu, Feb 13, 2014 at 6:44 AM, Stephan Beutel > <[email protected]<javascript:> > > wrote: > >> I also tried it with the Eclipse 3.8 and end up at the same point. I'm >> not able to run any GWTTestCase. >> >> >> >> Am Mittwoch, 12. Februar 2014 12:17:55 UTC+1 schrieb Stephan Beutel: >> >>> Hello, >>> >>> I set up my Eclipse to contribute to GWT and worked through the Readme >>> to set up an Eclipse workspace. >>> All errors are gone in my Eclipse (Springsource Toolsuite) now, but I'm >>> not able to run any GWTTestCase from within my Eclipse. >>> >>> The Ant build runs successfully. >>> >>> When trying to run any GWTTestCase I get this error: >>> >>> java.lang.Error: Unresolved compilation problems: >>> The import org.eclipse.jetty cannot be resolved >>> The import org.eclipse.jetty cannot be resolved >>> The import org.eclipse.jetty cannot be resolved >>> The import org.eclipse.jetty cannot be resolved >>> The import org.eclipse.jetty cannot be resolved >>> The import org.eclipse.jetty cannot be resolved >>> The import org.eclipse.jetty cannot be resolved >>> The import org.eclipse.jetty cannot be resolved >>> The import org.eclipse.jetty cannot be resolved >>> The import org.eclipse.jetty cannot be resolved >>> The import org.eclipse.jetty cannot be resolved >>> The import org.eclipse.jetty cannot be resolved >>> The import org.eclipse.jetty cannot be resolved >>> The import org.eclipse.jetty cannot be resolved >>> The import org.eclipse.jetty cannot be resolved >>> The import org.eclipse.jetty cannot be resolved >>> AbstractLifeCycle cannot be resolved to a type >>> RequestLog cannot be resolved to a type >>> Request cannot be resolved to a type >>> Response cannot be resolved to a type >>> AbstractHttpConnection cannot be resolved to a type >>> HttpFields cannot be resolved to a type >>> Field cannot be resolved to a type >>> Logger cannot be resolved to a type >>> Logger cannot be resolved to a type >>> Server cannot be resolved to a type >>> WebAppContext cannot be resolved to a type >>> Server cannot be resolved to a type >>> WebAppContext cannot be resolved to a type >>> Server cannot be resolved to a type >>> WebAppContext cannot be resolved to a type >>> Log cannot be resolved >>> WebAppContext cannot be resolved to a type >>> Server cannot be resolved to a type >>> WebAppContext cannot be resolved to a type >>> Server cannot be resolved to a type >>> Log cannot be resolved >>> Log cannot be resolved >>> Server cannot be resolved to a type >>> Server cannot be resolved to a type >>> Log cannot be resolved >>> WebAppContext cannot be resolved to a type >>> WebAppClassLoader cannot be resolved to a type >>> The method findResource(String) of type JettyLauncher. >>> WebAppContextWithReload.WebAppClassLoaderExtension must override or >>> implement a supertype method >>> WebAppClassLoader cannot be resolved to a type >>> WebAppClassLoader cannot be resolved to a type >>> The method findClass(String) of type JettyLauncher. >>> WebAppContextWithReload.WebAppClassLoaderExtension must override or >>> implement a supertype method >>> WebAppClassLoader cannot be resolved to a type >>> The method isServerClass(String) is undefined for the type JettyLauncher. >>> WebAppContextWithReload.WebAppClassLoaderExtension >>> WebAppClassLoader cannot be resolved to a type >>> The method addClassPath(String) is undefined for the type JettyLauncher. >>> WebAppContextWithReload.WebAppClassLoaderExtension >>> The method getInitParams() is undefined for the type JettyLauncher. >>> WebAppContextWithReload >>> The method setParentLoaderPriority(boolean) is undefined for the type >>> JettyLauncher.WebAppContextWithReload >>> The method isSystemClass(String) of type >>> JettyLauncher.WebAppContextWithReload >>> must override or implement a supertype method >>> WebAppContext cannot be resolved to a type >>> The method doStart() of type JettyLauncher.WebAppContextWithReload >>> must override or implement a supertype method >>> The method >>> setClassLoader(JettyLauncher.WebAppContextWithReload.WebAppClassLoaderExtension) >>> >>> is undefined for the type JettyLauncher.WebAppContextWithReload >>> WebAppContext cannot be resolved to a type >>> The method doStop() of type JettyLauncher.WebAppContextWithReload must >>> override or implement a supertype method >>> WebAppContext cannot be resolved to a type >>> The method getClassLoader() is undefined for the type JettyLauncher. >>> WebAppContextWithReload >>> The method setClassLoader(null) is undefined for the type >>> JettyLauncher.WebAppContextWithReload >>> AbstractConnector cannot be resolved to a type >>> Log cannot be resolved >>> Server cannot be resolved to a type >>> Server cannot be resolved to a type >>> AbstractConnector cannot be resolved to a type >>> The method getConnector(TreeLogger) from the type JettyLauncher refers >>> to the missing type AbstractConnector >>> WebAppContext cannot be resolved to a type >>> The method createWebAppContext(TreeLogger, File) from the type >>> JettyLauncher refers to the missing type WebAppContext >>> RequestLogHandler cannot be resolved to a type >>> RequestLogHandler cannot be resolved to a type >>> Log cannot be resolved >>> Server cannot be resolved to a type >>> WebAppContext cannot be resolved to a type >>> WebAppContext cannot be resolved to a type >>> AbstractConnector cannot be resolved to a type >>> SslSocketConnector cannot be resolved to a type >>> SslSocketConnector cannot be resolved to a type >>> SelectChannelConnector cannot be resolved to a type >>> >>> at com.google.gwt.dev.shell.jetty.JettyLauncher.<init>( >>> JettyLauncher.java:27) >>> at com.google.gwt.junit.JUnitShell$MyJettyLauncher.< >>> init>(JUnitShell.java:580) >>> at com.google.gwt.junit.JUnitShell$MyJettyLauncher.< >>> init>(JUnitShell.java:580) >>> at com.google.gwt.junit.JUnitShell$ArgProcessor.<init> >>> (JUnitShell.java:269) >>> at com.google.gwt.junit.JUnitShell.getUnitTestShell(JUnitShell.java:717) >>> at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:705) >>> at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:421) >>> at junit.framework.TestCase.runBare(TestCase.java:134) >>> at junit.framework.TestResult$1.protect(TestResult.java:110) >>> at junit.framework.TestResult.runProtected(TestResult.java:128) >>> at junit.framework.TestResult.run(TestResult.java:113) >>> at junit.framework.TestCase.run(TestCase.java:124) >>> at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:247) >>> at junit.framework.TestSuite.runTest(TestSuite.java:243) >>> at junit.framework.TestSuite.run(TestSuite.java:238) >>> at org.junit.internal.runners.JUnit38ClassRunner.run( >>> JUnit38ClassRunner.java:83) >>> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run( >>> JUnit4TestReference.java:50) >>> at org.eclipse.jdt.internal.junit.runner.TestExecution. >>> run(TestExecution.java:38) >>> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner. >>> runTests(RemoteTestRunner.java:467) >>> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner. >>> runTests(RemoteTestRunner.java:683) >>> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner. >>> run(RemoteTestRunner.java:390) >>> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner. >>> main(RemoteTestRunner.java:197) >>> >>> >>> Any hints how to solve this problem? >>> I checked the readme multiple times if I missed some setting, but I >>> cannot find anything. >>> >>> Thanks a lot. >>> >>> Stephan >>> >> -- >> http://groups.google.com/group/Google-Web-Toolkit-Contributors >> --- >> You received this message because you are subscribed to the Google Groups >> "GWT Contributors" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to >> [email protected]<javascript:> >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
