PDA

View Full Version : grails - gwt



orangina
May 28th, 2011, 10:47 PM
Hello, I have recently made an attempt at doing a grails project that included GWT. I am mainly following this tutorial: http://code.google.com/p/derjanandhisblog/wiki/GWTGrailsTutorial

I have run into a problem which I cannot resolve for two weeks now.

1) when I run-gwt-client and the "custom gwt browser" appears, I never see anything in it.
2) every time I compile-gwt-modules, I get the following errors: http://pastebin.com/CwrzTKmS

I have literally followed every step to the letter in that tutorial. I have referenced any grails-gwt related documentation I could find to no avail. I have attempted to do this in command line and netbeans, both of which produce the exact same behavior and error messages.

I have tried doing this in grails 1.3.5 and 1.3.7.

I have tried reinstalling grails/gwt-plugin from scratch

Any help would be greatly appreciated. I hope that I can get over this hurdle.

pledbrook
Jun 1st, 2011, 08:17 AM
Which version of GWT do you have installed? javax.validation is part of JEE6 it seems. Is that required by GWT now?

bkbonner
Jun 4th, 2011, 11:31 PM
Peter, javax.validation is now required with GWT (2.3.x and 2.4.x) along with others.

Orangina, in your SDK directory you should have a jar file called: gwt-servlet-deps.jar. If you include this in your classpath, it will include the javax.validation and org.json libraries needed with GWT 2.3.x.

Good luck.