Dec 15th, 2011, 02:05 PM
Sts + gwt
I'm new to STS but when i tryed to used it with GWT via th Roo commande : "web gwt setup", STS builder throw me out some errors particulary with javax.validation library. For people who are in the same case as me, i found a solution ! Just right click on your brand new project, Google > Web Toolkit Settings... In the opened window, click on "Use Default SDK (GWT 2.4)" instead of "Use specifi SDK". Refresh your project and errors should be remove.
Now you can run your application as in GWT tutorial, Run as > Web application. No need to use mvn gwt:run anymore.
Hope it'll help !
Dec 15th, 2011, 03:46 PM
Some more search
So after some more investigation, gwt seems to need so librairy present in gwt 2.4.0 :
I tryed to directly change version inside pom.xml from 2.3.0 to 2.4.0 but even more errors came up.
To compile (works with mvn clean install and not with GWT compile, don't know the diference ...?) keep current pom.xml and do as said on the post before.
If people have some explication or informations about thoose behaviors, i'd be thankful to know more about sts + gwt.
Tags for this Thread