I developed a GWT application using i18n internationalization. In Host / Dev mode, it works fine, but starting the GWT compilation gives this error: the resource was not found for the xxx key, as shown below.
Compiling module ...rte.RTE Scanning for additional dependencies: file:/home/.../client/i18n/RTEValidationMessages.java Computing all possible rebind results for '...client.i18n.RTEMessages' Rebinding ...client.i18n.RTEMessages Invoking com.google.gwt.dev.javac.StandardGeneratorContext@e7dfd0 Processing interface ...client.i18n.RTEMessages Generating method body for txtIndirizzo3() [ERROR] No resource found for key 'txtIndirizzo3'
Messages are loaded with late binding.
public class RTEValidationMessages { private RTEMessages additionalMessages; public RTEValidationMessages() { additionalMessages = GWT.create(RTEMessages.class); } }
Removing a method that gives an error leads to another random method with an error, say, not before and after the method in the interface ... client.i18n.RTEMessages.
Help is appreciated.
compiler-construction gwt
Han fastolfe
source share