I've had a similar problem before. I am using maven and doing a "Run as Maven Clean" followed by a "Run as Maven Install" corrected the problem for me. By the way, my maven pom was modified from the Expenses sample app's pom.
On Dec 20, 8:01 am, Mike Breytenbach <[email protected]> wrote: > Hi > > I'm trying to learn how to use RequestFactory. I created a new App > Engine Connected Android project. In the shared MyRequestFactory class > I then add "Request<String> getSomethingElse();" to the code below, > just before the closing curly bracket. > > @ServiceName("com.mikebreytenbach.android.orbit.server.HelloWorldService") > public interface HelloWorldRequest extends RequestContext { > /** Retrieve a "Hello, World" message from the server. */ > Request<String> getMessage(); > } > > I immediately get an Eclipse error under getSomethingElse() saying > "Could not find domain method similar to java.lang.String > getSomethingElse()". I've followed the instructions > onhttp://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterf... > for Eclipse setup, but annotation processing was already configured > correctly for the project (I think if it had not been, I would not get > the Eclipse error). > > Now, when the client code calls the original getMessage(), there's a > runtime server error saying that the ValidationTool must be run. > > I've tried deleting all the class files that come with the example as > well as cleaning and rebuilding. Is this the right way to add a new > server method? Can I fix this problem by installing Maven for GWT or > by manually running the ValidationTool? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
