RequestFactory ValidationTool must be running for ... ApplicationRequestFactory RequestFactory type

I want to use Spring ROO 1.2.1 + GWT 2.6.1 in Springsource Tool Suite 2.9.1 on Ubuntu 12.04. The following tutorials, such as the video at http://www.bytespring.com/blog/spring-roo-integration-gwt , I can create with the new roo project through the "flow" script, and then run it with mvn gwt: run. Well, I want to manage it in STS, and now the problem begins. It seems the problem is in m2e.

In pom.xml, the tag for the artifact with the id "exec-maven-plugin" has this error:

Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:exec-maven-plugin:1.2:exec (execution: default, phase: process-classes)

I tried to execute the solution suggested in How to solve "Running a plugin not covered by the lifecycle configuration" for Spring Data Maven Builds .

A tagged plugins tag with a pluginManagement tag. Now the error no longer appears.

Then I launched the Run as → Web Application application ... HTML page selection: ApplicationScaffold.html.

A web page will appear, but with a window with this error:

Error: One or more exceptions caught, see full set in UmbrellaException#getCause".

STS console reports

"java.lang.RuntimeException: The RequestFactory ValidationTool must be run for the org.springsource.roo.extrack.client.managed.request.ApplicationRequestFactory RequestFactory type".

To solve this problem, I followed the instructions at http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation .

1) In the project properties → Java compiler → Annotation properties I enabled the specific project settings, processing and processing of annotations in the editor, the gen.source directory: .apt_generated; verbose false.

2) Factory , requestfactory-apt.jar,

/home/toni/springsource/sts-2.9.1.RELEASE/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201205091048-rel-r37/gwt-2.4.0

(??)

( , "Validation Tool" "Maven build" )

( ), .

- ?? ? , , . Spring gwt...

+3
1

, , ( ) AJDT ( Eclipse AspectJ), , Java 6 ( Roo).

GWT :

  • AspectJ builder, () Java- , Builder.
  • .
  • Java/class .apt_generated .
  • Java- AspectJ.
  • 3 .

Eclipse - IDE AspectJ, ajc, .

+1

All Articles