I had this same problem last month when I moved to GWT 1.5.2 also.

It turned out to be a conflict between GWT's dev library and the Jasper 
2 JSP engine which apparently uses the Eclipse JDT Java compiler.  The 
jasper-compiler-jdt.jar had conflicting versions of the 
org.eclipse.jdt.internal.compiler.Compiler class.  Check your GWT 
project build path for that jar file and remove it.

Hope this helps...

Tom


Deep wrote:
> I'm using Mac OS 10.5.5 & Eclipse 3.3.2 and I migrated my project from
> GWT 1.4.61 to 1.5.2 and getting following error. Please help me.
>
>
> INFO] [gwt:compile {execution: default}]
> 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
>         at com.google.gwt.dev.javac.JdtCompiler
> $CompilerImpl.<init>(JdtCompiler.java:93)
>         at com.google.gwt.dev.javac.JdtCompiler.<init>(JdtCompiler.java:231)
>         at com.google.gwt.dev.javac.JdtCompiler.compile(JdtCompiler.java:193)
>         at
> com.google.gwt.dev.javac.CompilationState.compile(CompilationState.java:
> 115)
>         at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:327)
>         at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:564)
>         at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:554)
>         at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:214)
> 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
>         at com.google.gwt.dev.javac.JdtCompiler
> $CompilerImpl.<init>(JdtCompiler.java:93)
>         at com.google.gwt.dev.javac.JdtCompiler.<init>(JdtCompiler.java:231)
>         at com.google.gwt.dev.javac.JdtCompiler.compile(JdtCompiler.java:193)
>         at
> com.google.gwt.dev.javac.CompilationState.compile(CompilationState.java:
> 115)
>         at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:327)
>         at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:564)
>         at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:554)
>         at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:214)
> 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
>         at com.google.gwt.dev.javac.JdtCompiler
> $CompilerImpl.<init>(JdtCompiler.java:93)
>         at com.google.gwt.dev.javac.JdtCompiler.<init>(JdtCompiler.java:231)
>         at com.google.gwt.dev.javac.JdtCompiler.compile(JdtCompiler.java:193)
>         at
> com.google.gwt.dev.javac.CompilationState.compile(CompilationState.java:
> 115)
>         at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:327)
>         at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:564)
>         at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:554)
>         at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:214)
>
> >   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to