There are already several similar threads but it took me a whole day to solve this, so I hope this extra piece of info may help to somebody else in similar situation.
I moved from GWT 2.3 to 2.4. There are no big letters in release readme or anywhere saying that there are breaking changes since RequestFactory validation is totally reworked but after some googling you get the idea. So I quickly ran ValidationTool and created an extra jar and everything was working again. Note that what is may be obvious today could be less obvious a month or two ago as the tool documentation is being constantly corrected. So I went on with my business, refactored half of the interfaces in AppRequestFactory and then boom - a dreaded "No RequestContext for operation" hit me. First I thought I broke some unspoken extra constraint with RequestFactory or messed up classpath or have wrong web.xml and so on. I updated all my Eclipse plugins, cleaned up everything, removed Maven - no luck. I did rerun ValidationTool but without success. I reverted to a previous version of my code and added a single simple method to an existing AppRequestFactory interface. And got the same "No RequestContext for operation". And only at this point I reread that article about new RequestFactory validation, added annotation processor (requestfactory-apt.jar) and voila - everything suddenly works. So if any poor soul out there is in similar shoes may be this story will help a bit. On a side note - GWT documentation is terrible and is getting worse over time. The scope is getting bigger and bigger (Android, App marketplace and so on) but the quality is dropping with each release. A year after RequestFactory release any novice must gather million of pieces about how it works on his own. And the error message is hardly helpful as well (in the same league as "the bean is frozen" or "the streams are crossed"). -- 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.
