Good Morning,
Any luck with this? I am having the exact same problem with the
expenses sample app (I refreshed it from the repository yesterday). I
have been trying to get past this for days. I can manually validate
the expenses request factory class with:
java -cp \
/rick/workspace-ee/expenses/target/expenses-0.1.0.BUILD-SNAPSHOT/WEB-
INF/classes:\
/rick/workspace-ee/expenses/target/expenses-0.1.0.BUILD-SNAPSHOT/WEB-
INF/lib/appengine-api-1.0-sdk-1.5.4.jar:\
/rick/workspace-ee/expenses/target/expenses-0.1.0.BUILD-SNAPSHOT/WEB-
INF/lib/validation-api-1.0.0.GA.jar:\
/rick/workspace-ee/expenses/target/expenses-0.1.0.BUILD-SNAPSHOT/WEB-
INF/lib/persistence-api-1.0.jar:\
/rick/workspace-ee/expenses/target/expenses-0.1.0.BUILD-SNAPSHOT/WEB-
INF/lib/transaction-api-1.1.jar:\
/rick/workspace-ee/expenses/target/expenses-0.1.0.BUILD-SNAPSHOT/WEB-
INF/lib/jdo2-api-2.3-eb.jar:\
/rick/workspace-ee/expenses/target/expenses-0.1.0.BUILD-SNAPSHOT/WEB-
INF/lib/gwt-servlet-2.4.0.jar\
com.google.web.bindery.requestfactory.apt.ValidationTool \
/rick/workspace-ee/expenses/target/expenses-0.1.0.BUILD-SNAPSHOT/
WEB-INF/classes \
com.google.gwt.sample.expenses.shared.ExpensesRequestFactory
I *suspect* the problem may be with my run configuration, which has
program arguments of:
-war /rick/workspace-ee/expenses/target/expenses-0.1.0.BUILD-SNAPSHOT
-startupUrl Expenses.html
-remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO -
codeServerPort 9997 -port 8888
-server com.google.appengine.tools.development.gwt.AppEngineLauncher
com.google.gwt.sample.expenses.Expenses
com.google.gwt.sample.expenses.LoadExpensesDB
com.google.gwt.sample.expenses.ExpensesMobile
The LoadExpensesDB module works fine, but it uses RPC not the request
factory.
Thanks,
Rick
On Sep 14, 3:27 am, Geoffray <
geoffray.gr...@gmail.com> wrote:
> Good morning everyone,
>
> i'm trying to figure out how to migrate requestfactory 2.3 to 2.4 but
> I still have the same problem : java.lang.RuntimeException: The
> RequestFactory ValidationTool must be run for the
> com.airfrance.cappla.client.service.factory.AppRequestFactory
> RequestFactory type
>
> Actually, in order to solve my problem I tried to do what was
> explained in this tutorial :
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterf...,