Try adding just the following dependency:
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.4.01</version>
</dependency>
Also this, if you have not already done so:
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
And this is how GWT dependencies look for me (2.8.0-rc1):
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt</artifactId>
<version>${gwtVersion}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-servlet</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<scope>provided</scope>
</dependency>
<dependencies>
On Wednesday, August 10, 2016 at 11:19:25 AM UTC-4, Michael Wiles wrote:
>
> I get the same issue using the maven plugin 2.8.0-rc1... Anyone got the
> maven gwt plugin working? Or is it because I have some rogue dependency?
>
> On Tuesday, 2 August 2016 16:07:43 UTC+2, Uwe Maurer wrote:
>>
>> Hi,
>>
>> I tried GWT 2.8.0 RC1 and get this error. Any ideas?
>>
>> Compiling...
>> [ERROR] An internal compiler exception occurred
>> com.google.gwt.dev.jjs.InternalCompilerException: Error constructing Java
>> AST
>> at
>> com.google.gwt.dev.jjs.impl.GwtAstBuilder.translateException(GwtAstBuilder.java:3886)
>> at
>> com.google.gwt.dev.jjs.impl.GwtAstBuilder.getInternalCompilerException(GwtAstBuilder.java:4291)
>> at
>> com.google.gwt.dev.jjs.impl.GwtAstBuilder.createMembers(GwtAstBuilder.java:3985)
>> at
>> com.google.gwt.dev.jjs.impl.GwtAstBuilder.processImpl(GwtAstBuilder.java:3825)
>> at
>> com.google.gwt.dev.jjs.impl.GwtAstBuilder.process(GwtAstBuilder.java:3860)
>> at
>> com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater$UnitProcessorImpl.process(CompilationStateBuilder.java:129)
>> 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:1089)
>> at
>> com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:325)
>> at
>> com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:548)
>> at
>> com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:479)
>> at
>> com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:465)
>> at
>> com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:423)
>> at com.google.gwt.dev.Precompile.precompile(Precompile.java:222)
>> at com.google.gwt.dev.Precompile.precompile(Precompile.java:202)
>> at com.google.gwt.dev.Precompile.precompile(Precompile.java:143)
>> at com.google.gwt.dev.Compiler.compile(Compiler.java:204)
>> at com.google.gwt.dev.Compiler.compile(Compiler.java:155)
>> at com.google.gwt.dev.Compiler.compile(Compiler.java:144)
>> at com.google.gwt.dev.Compiler$1.run(Compiler.java:118)
>> 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:125)
>> Caused by: java.lang.NoSuchMethodError:
>> org.eclipse.jdt.internal.compiler.lookup.MethodBinding.isDefaultMethod()Z
>> at
>> com.google.gwt.dev.jjs.impl.GwtAstBuilder.createMethod(GwtAstBuilder.java:4080)
>> at
>> com.google.gwt.dev.jjs.impl.GwtAstBuilder.createMembers(GwtAstBuilder.java:3975)
>> ... 21 more
>> [ERROR] at DateTimeFormatInfoImpl_es_CL.java(22): public class
>> DateTimeFormatInfoImpl_es_CL extends DateTimeFormatInfoImpl_es_419
>> org.eclipse.jdt.internal.compiler.ast.TypeDeclaration
>>
>>
>>
--
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.