I had the same problem. Moving gwt-dev-windows.jar to the top of the classpath (as mentioned in this post http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/30df92ebad14a73f/7db488fa4673e6ca?lnk=gst&q=NoSuchMethodError+eclipse#7db488fa4673e6ca) seems to have fixed it.
On Aug 28, 1:09 am, maticpetek <[EMAIL PROTECTED]> wrote: > Hello, > I try to migrate my project from 1.4.62 to GWT 1.5 RC2. But I get > the bottom error when i build my project with build.xml script (before > that i replace 'gwt-mac-1.4.62' with 'gwt-mac-1.5.1'). Any idea what > could be wrong? Thank you. > > My environment: > OS X, 10.5.4 > GWT 1.5 RC 2Eclipse3.4.0 > > Buildfile: /Users/maticpetek/Desktop/MetaKocka/MetaKockaMain/src/com/ > metakocka/MetaKockaMain/build.xml > jars: > [mkdir] Created dir: /Users/maticpetek/Desktop/MetaKocka/ > MetaKockaMain/@dot/com.metakocka.MetaKockaMain.MetaKockaMain/WEB-INF/ > lib > [jar] Building jar: /Users/maticpetek/Desktop/MetaKocka/ > MetaKockaMain/@dot/com.metakocka.MetaKockaMain.MetaKockaMain/WEB-INF/ > lib/MetaKockaMain.jar > gwt-compile: > [java] Exception in thread "main" java.lang.NoSuchMethodError: > org.eclipse.jdt.internal.compiler.Compiler.<init>(Lorg/eclipse/jdt/ > internal/compiler/env/INameEnvironment;Lorg/eclipse/jdt/internal/ > compiler/IErrorHandlingPolicy;Lorg/eclipse/jdt/internal/compiler/impl/ > CompilerOptions;Lorg/eclipse/jdt/internal/compiler/ > ICompilerRequestor;Lorg/eclipse/jdt/internal/compiler/ > IProblemFactory;)V > [java] at com.google.gwt.dev.javac.JdtCompiler > $CompilerImpl.<init>(JdtCompiler.java:93) > [java] at > com.google.gwt.dev.javac.JdtCompiler.<init>(JdtCompiler.java:231) > [java] at > com.google.gwt.dev.javac.JdtCompiler.compile(JdtCompiler.java:193) > [java] at > com.google.gwt.dev.javac.CompilationState.compile(CompilationState.java: > 101) > [java] at > com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:327) > [java] at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java: > 564) > [java] at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java: > 554) > [java] at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java: > 214) > > BUILD FAILED > /Users/maticpetek/Desktop/MetaKocka/MetaKockaMain/src/com/metakocka/ > MetaKockaMain/build.xml:73: Java returned: 1 > > Total time: 3 seconds --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
