Question

I have a multi-module GWT project built with Maven. I would like to have the generated GWT code (location specified by the gen gwt:compile parameter) available for debug in DEV mode.

I launch DEV mode from an eclipse launcher.

However, when I try to add the generated code as a source folder in eclipse, I get a ton of errors which prevent the app from running. Even with the errors, I've tried to run my webapp with no success.

The majority of the errors are JSNI 'reference to non-existant field' errors located in *_TypeSerializer.java#loadSignaturesNative() methods.

Other errors are due to the absence of generated CSS files from inlined UIBinder styles, and a couple of mismatched input parameters to ImmutableMap_FieldSerializer.deserialize(...) and ImmutableMap_FieldSerializer.serialize().

Any help is welcome!

Was it helpful?

Solution

You have to add the folder to the source tab of the launcher, not as a source folder to your project.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top