gwt Exception when compiling struts app that contains GWT Sample App

I am trying, with no success, to get ANY GWT module to work in my JavaEE app that uses struts. I get the following error after adding the GWT sample app to my web module that uses struts. I also get highlighted errors on EntryPoint and other GWT classes with the message "com.google.?????.???? is not presented in JRE Library so it cannot be used in client code".

2006-11-26 16:49:49,111 DEBUG - make.GwtCompilerProcessHandler - Analyzing source in module 'sampleApp.SampleApp'
2006-11-26 16:49:49,111 DEBUG - make.GwtCompilerProcessHandler - Analyzing source in module 'sampleApp.SampleApp'
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - Exception in thread "main" java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.kind()I
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - Exception in thread "main" java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.kind()I
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.jdt.TypeOracleBuilder.isInterface(TypeOracleBuilder.java:377)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.jdt.TypeOracleBuilder.isInterface(TypeOracleBuilder.java:377)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.jdt.TypeOracleBuilder.processType(TypeOracleBuilder.java:504)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.jdt.TypeOracleBuilder.processType(TypeOracleBuilder.java:504)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.jdt.TypeOracleBuilder.access$100(TypeOracleBuilder.java:81)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.jdt.TypeOracleBuilder.access$100(TypeOracleBuilder.java:81)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.jdt.TypeOracleBuilder$2.visit(TypeOracleBuilder.java:290)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.jdt.TypeOracleBuilder$2.visit(TypeOracleBuilder.java:290)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1156)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1156)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:481)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:481)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.jdt.TypeOracleBuilder.build(TypeOracleBuilder.java:275)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.jdt.TypeOracleBuilder.build(TypeOracleBuilder.java:275)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.cfg.ModuleDef.getTypeOracle(ModuleDef.java:222)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.cfg.ModuleDef.getTypeOracle(ModuleDef.java:222)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:273)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:273)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:621)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:621)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:189)
2006-11-26 16:49:51,216 DEBUG - make.GwtCompilerProcessHandler - at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:189)

Please sign in to leave a comment.