Hi All,

I am New to GWT and trying to find solution on below exception on internet 
but no luck.
I imported existing GWT Web Project to eclipse and it was set up correctly 
in eclipse but when i try Compile it with "GWT Compile" option in Eclipse 
it is throwing below exception. 

I am using GWT 2.7.0.

Can someone please help me in troubleshoting it?


> Compiling module com.delta.qsiweb.QsiWeb
> [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)



Regards,
Thanks in Advance. 

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
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