Problem
When trying to execute a Spring Roo Application that uses GWT it shows the following message error in console: No RequestContext for operation.
Attention
This error also occurs when using RequestFactory and the methods from the client side are not compatibles with the server side. Before trying what is explained here, make sure that the methods were created properly. More information about how to create the methods see this GWT documentation: https://developers.google.com/web-toolkit/doc/latest/DevGuideRequestFactory
Reason
Changes made in a subclass of RequestContext. Apparently it is related to compilation/build problems.
Solution
Recompile/rebuild the project. A simple rebuild did not work to me. Follow the steps that I think I did to resolve the problem. I am not sure because I do not simulated the error again. In the command line:
mvn clean
mvn compile
mvn gwt:run
If not work, try in eclipse:
plugin do google->GWT Compile Projet
If not work try to recompile/rebuild in other ways.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment