Hi All,

I am new to GWT and I imported existing Web GWT project to Eclipse and when 
i try to compile it through "GWT Compile" option of Eclipse it is throwing 
below error.
Project looks to be properly set up in Eclipse Workspace.

I am using GWT 2.7.0.

Can anyone please help in resolving below exception?


[ERROR] Unexpected internal compiler error
> java.lang.RuntimeException: Unexpectedly unable to access 
> Enum.createValueOfMap via reflection. Likely a dependency on the 
> com.google.gwt.user.User module is missing.
> at 
> com.google.gwt.dev.jjs.impl.GwtAstBuilder$AstVisitor.writeEnumValueOfMethod(GwtAstBuilder.java:2793)
> at 
> com.google.gwt.dev.jjs.impl.GwtAstBuilder$AstVisitor.processEnumType(GwtAstBuilder.java:2425)
> at 
> com.google.gwt.dev.jjs.impl.GwtAstBuilder$AstVisitor.endVisit(GwtAstBuilder.java:1861)
> at 
> com.google.gwt.dev.jjs.impl.GwtAstBuilder$AstVisitor.endVisit(GwtAstBuilder.java:1588)
> at 
> org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1382)
> at 
> com.google.gwt.dev.jjs.impl.GwtAstBuilder.process(GwtAstBuilder.java:3058)
> at 
> com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater$UnitProcessorImpl.process(CompilationStateBuilder.java:141)
> at 
> com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:384)
> at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:470)
> at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:985)
> at 
> com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:339)
> at 
> com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:580)
> at 
> com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:513)
> at 
> com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:499)
> at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:668)
> at com.google.gwt.dev.Precompile.precompile(Precompile.java:255)
> at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
> at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
> at com.google.gwt.dev.Compiler.run(Compiler.java:206)
> at com.google.gwt.dev.Compiler.run(Compiler.java:158)
> at com.google.gwt.dev.Compiler$1.run(Compiler.java:120)
> at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
> at 
> com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
> at com.google.gwt.dev.Compiler.main(Compiler.java:127)
>

Thanks in Advance.
Jay Shukla

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to