Greetings, I use gwt 2.4 and maven 3.0.1 with gwt-maven-plugin 2.4.0 in my application. During compilation I got an error:
[INFO] [INFO] --- gwt-maven-plugin:2.4.0:compile (default) @ admin --- [INFO] auto discovered modules [ua.ardas.admin.Admin] [INFO] Compiling module ua.ardas.admin.Admin [INFO] [ERROR] Unexpected internal compiler error [INFO] java.lang.ClassCastException: org.eclipse.jdt.internal.compiler.lookup.RawTypeBinding cannot be cast to org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding [INFO] at org.eclipse.jdt.internal.compiler.lookup.Scope.findMemberType(Scope.java: 976) [INFO] at org.eclipse.jdt.internal.compiler.lookup.Scope.getMemberType(Scope.java: 2081) [INFO] at org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference.findNextTypeBinding(QualifiedTypeReference.java: 44) [INFO] at org.eclipse.jdt.internal.compiler.ast.ParameterizedQualifiedTypeReference.internalResolveType(ParameterizedQualifiedTypeReference.java: 162) [INFO] at org.eclipse.jdt.internal.compiler.ast.ParameterizedQualifiedTypeReference.resolveType(ParameterizedQualifiedTypeReference.java: 343) [INFO] at org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveTypeArgument(TypeReference.java: 209) [INFO] at org.eclipse.jdt.internal.compiler.ast.ParameterizedSingleTypeReference.internalResolveType(ParameterizedSingleTypeReference.java: 180) [INFO] at org.eclipse.jdt.internal.compiler.ast.ParameterizedSingleTypeReference.resolveType(ParameterizedSingleTypeReference.java: 282) [INFO] at org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveSuperType(TypeReference.java: 179) [INFO] at org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java: 1167) [INFO] at org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperclass(ClassScope.java: 867) [INFO] at org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java: 1010) [INFO] at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.connectTypeHierarchy(CompilationUnitScope.java: 290) [INFO] at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java: 185) [INFO] at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java: 719) [INFO] at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java: 376) [INFO] at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:420) [INFO] at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:701) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder $CompileMoreLater.compile(CompilationStateBuilder.java:235) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java: 447) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java: 370) [INFO] at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java: 360) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java: 252) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java: 233) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java: 145) [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:232) [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:198) [INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170) [INFO] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88) [INFO] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java: 82) [INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:177) [INFO] ------------------------------------------------------------------------ The most strange thing that this error occurs not always. Sometimes maven build my project successfully. And sometimes I got this error. Can someone help me to solve this error? Thanks in advance. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.