| cconway wrote: |
| If your'e having difficulty understanding the google documentation, follow these step by step instructions to configure RequestFactory validation for GWT 2.4:
1. When you create your Web Project in MyEclpse, select the "Java EE 6.0" radio button on the first page of the New Web Project wizard. If you're not using a Web Project, at least ensure that your java compliance is set to 1.6 on the Project Properties > Java Compiler page. 2. Download the GWT 2.4 SDK zip file from this location and unzip it on your machine: http://code.google.com/webtoolkit/versions.html 3. Right-click on your project and select Properties to open the project properties dialog. 4. Expand the Java Compiler node on the left and select "Annotation Processing". 5. Click the checkbox to "Enable project specific settings". Once checked, that should enable the rest of the screen and the "Enable annotation processing" and "Enable processing in editor" boxes should both be checked. ".apt_generated" should be in the "Generated source directory:" box. Add a new Key/Value pair (verbose, false) using the "New..." button. 6. Expand the "Annotation Processing" node on the left side of the properties dialog and select the "Factory Path" node. 7. Select "Enable project specific settings" 8. Press the "Add External JARs" button and use the dialog that appears to select the "requestfactory-apt.jar" file from the GWT 2.4 SDK that you unzipped earlier. 9. When you press Ok on the properties dialog, you'll be prompted to rebuild (you may be prompted twice). Always say Yes to those prompts. |
| Code: |
| java.lang.RuntimeException: The RequestFactory ValidationTool must be run for the gwt.client.managed.request.ApplicationRequestFactory RequestFactory type
at com.google.web.bindery.requestfactory.vm.impl.Deobfuscator$Builder.load(Deobfuscator.java:59) at com.google.web.bindery.requestfactory.server.ResolverServiceLayer.updateDeobfuscator(ResolverServiceLayer.java:43) at com.google.web.bindery.requestfactory.server.ResolverServiceLayer.resolveRequestFactory(ResolverServiceLayer.java:176) |
| Code: |
| java.lang.ClassNotFoundException: com.google.gwt.requestfactory.server.RequestFactoryServlet
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1083) |
| Code: |
| com.google.web.bindery.requestfactory.server.RequestFactoryServlet |
| Code: |
| com.google.gwt.requestfactory.server.RequestFactoryServlet |