Trying Grails + GWT for the first time

209 views
Skip to first unread message

ian tabangay

unread,
Mar 12, 2012, 5:55:14 AM3/12/12
to grail...@googlegroups.com
Hi. Im playing around with grails with gwt but I cant seem to make it work. Im following the tutorial in http://www.lazywithclass.com/code/4/gwt-on-grails but all Im getting is a blank page. Can anyone point me to the right direction? Or could suggest a page that could help a new user like me? I am using grails 2.0.1 and gwt 2.4.0 with gwt plugin 0.6.1.

Thanks in advance.

Ian Tabangay

Brian Kotek

unread,
Mar 12, 2012, 10:06:27 AM3/12/12
to grail...@googlegroups.com
Make sure you comment out the resources plugin in your BuildConfig.xml. There's a problem with the GWT plugin and the new resources plugin. You can use Firebug or the Chrome dev tools to look at the page and see if there are any resources that are failing to load.

ian tabangay

unread,
Mar 14, 2012, 4:00:58 AM3/14/12
to grail...@googlegroups.com
Thanks for the help! What exactly do i need to comment out in BuildConfig.xml?

ian tabangay

unread,
Mar 14, 2012, 4:30:28 AM3/14/12
to grail...@googlegroups.com
Hi.

I have finally made it work by down grading grails from 2.0.1 to 1.3.7. You mentioned commenting out from BuildConfig. Is this the fix for grails 2.0?
Thanks again for the help!

~ ian

Brian Kotek

unread,
Mar 14, 2012, 10:18:43 AM3/14/12
to grail...@googlegroups.com
Yes, comment out the resources plugin from the plugins section of the BuildConfig if you want to omit it from your application. 

I was also able to keep the new resources plugin and make it work by adding this to my Config.groovy file:

grails.resources.adhoc.excludes = ['**/gwt/**'] 
Reply all
Reply to author
Forward
0 new messages