Re: GWT 2.8.0 RC1 - InternalCompilerException: Error constructing Java AST

2016-08-12 Thread Thomas Broyer
Do you have JDT in your dependencies? (mvn dependency:tree) And do you (still) have both client and server code in the same project? Also, which gwt-maven-plugin do you use, and which version? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To

Re: GWT 2.8.0 RC1 - InternalCompilerException: Error constructing Java AST

2016-08-12 Thread Thomas Broyer
Do you have JDT in your dependencies? (mvn dependency:tree) And do you (still) have both client and server code in the same project? Also, which gwt-maven-plugin do you use, and which version? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To

Re: GWT 2.8.0 RC1 - InternalCompilerException: Error constructing Java AST

2016-08-10 Thread harshyadav
Try adding just the following dependency: xml-apis xml-apis 1.4.01 Also this, if you have not already done so: javax.servlet javax.servlet-api 3.1.0 provided And this is how GWT dependencies look for me (2.8.0-rc1): com.google.gwt

Re: GWT 2.8.0 RC1 - InternalCompilerException: Error constructing Java AST

2016-08-10 Thread Michael Wiles
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... >

Re: GWT 2.8.0 RC1 - InternalCompilerException: Error constructing Java AST

2016-08-02 Thread Thomas Broyer
On Tuesday, August 2, 2016 at 6:35:05 PM UTC+2, Uwe Maurer wrote: > > Great that most dependencies are referenced now. > > You are right, the extra JDT library should not even be on the GWT > classpath. > We use the gwt-gradle-plugin to compile GWT projects with gradle, maybe > our

Re: GWT 2.8.0 RC1 - InternalCompilerException: Error constructing Java AST

2016-08-02 Thread Uwe Maurer
Great that most dependencies are referenced now. You are right, the extra JDT library should not even be on the GWT classpath. We use the gwt-gradle-plugin to compile GWT projects with gradle, maybe our configuration is not correct there. On Tuesday, August 2, 2016 at 6:03:37 PM UTC+2,

Re: GWT 2.8.0 RC1 - InternalCompilerException: Error constructing Java AST

2016-08-02 Thread Thomas Broyer
On Tuesday, August 2, 2016 at 5:50:22 PM UTC+2, Uwe Maurer wrote: > > Thanks for the hint. Yes, the problem was that GWT SDK duplicates these > JDT classes instead of depending on the corresponding library. > JDT is the only dependency that's still bundled into GWT, and this is the case

Re: GWT 2.8.0 RC1 - InternalCompilerException: Error constructing Java AST

2016-08-02 Thread Uwe Maurer
Thanks for the hint. Yes, the problem was that GWT SDK duplicates these JDT classes instead of depending on the corresponding library. Then gradle could not resolve this version conflict and kept the old JDT. Forcing a higher version fixed it. On Tuesday, August 2, 2016 at 4:35:37 PM UTC+2,

Re: GWT 2.8.0 RC1 - InternalCompilerException: Error constructing Java AST

2016-08-02 Thread Jens
*Caused by: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.lookup.MethodBinding.isDefaultMethod()Z* Check your dependencies. Looks like you have an old JDT on class path and GWT requires a newer one. -- J. -- You received this message because you are subscribed to the Google

GWT 2.8.0 RC1 - InternalCompilerException: Error constructing Java AST

2016-08-02 Thread Uwe Maurer
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