> When I configure Eclipse 2019-06 to use this modified GWT 2.8.2 SDK, i am 
> able to more or less get it to build, eventually, but with a flood of 
> obscure "Validating GWT Components" errors that have to be tediously 
> clicked through:
>
> An internal error occurred during: "Validating GWT components".
>
> class org.eclipse.jdt.internal.compiler.lookup.ProblemReferenceBinding 
> cannot be cast to class 
> org.eclipse.jdt.internal.compiler.lookup.PackageBinding 
> (org.eclipse.jdt.internal.compiler.lookup.ProblemReferenceBinding and 
> org.eclipse.jdt.internal.compiler.lookup.PackageBinding are in unnamed 
> module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader 
> @57cd77e1)
>
> So...first question: Did I miss an important step when I stripped those 
> classes out of gwt-dev.jar? Or is there a way to make "Validating GWT 
> components" stop complaining?
>
>
I don't think so. IMHO it looks like an Eclipse bug or the GWT plugin needs 
to be updated.


If we plan to announce that GWT 2.9 will be Java 11 compatible (syntax) 
then contributors will probably also sit down and make sure it works in 
IDEs either out of the box or by providing instructions how to configure 
Eclipse to make it work. In general all those 3rd party classes are 
included in gwt-dev.jar to just have a single dependency that needs to be 
added by the GWT plugin. The Maven release of GWT pulls those in as 
transitive dependencies. 

I think going forward GWT SDK release (non Maven release) should repackage 
all those dependencies into com.google.gwt.thirdparty as it already does 
for some dependencies. That way we can also make sure that no dependency 
version conflicts exist on class path.


-- J.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/ce65c364-c14e-423b-8710-1f34d61a56cc%40googlegroups.com.

Reply via email to