Hi! After fighting with this, issue in all possible dimensions, hope to find some one who've manage to solved something similar ...
I'm using RestyGWT, to implemente a GWT app "RPC". I've defined a service, class MyService extends RestService { @GET public void getResults(MethodCallback<org.my.data.Result> callback); } The class Result, is a DTO, which I've built into a separate GWT module, added the gwt.xml, stuff, configured the maven-source-plugin, to create the module source jar ... added the <compileSourcesArtifacts> <compileSourcesArtifact>org.my.data:my-data</compileSourcesArtifact> </compileSourcesArtifacts> My class Result: public class Result { String r1; String r2; public Result() {} } Every this is fine, the restygwt generates the org.my.data.Result_Generated_JsonEncoderDecoder_.java, into the .generated dir, after that fail with the error: Added 1 units to cache since last cleanup. Tracing compile failure path for type 'org.mydata.data.Result_Generated_JsonEncoderDecoder_' Errors in '..../target/.generated/org/mydata/data/Result_Generated_JsonEncoderDecoder_.java' Line 28: The constructor Result() is undefined Wrote 1 units to persistent cache. See snapshot: /tmp/org.mydata.data.Result_Generated_JsonEncoderDecoder_953900780088454604.java Removing invalidated units The issue, is the GWT Compiler, when compiling the generated stub, cannot find the Result class, and fails ... Thanks in advance! Cheers, mc -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.