Eclipse
Last updated
Was this helpful?
Last updated
Was this helpful?
Working example project, which results from this tutorial, can be downloaded from .
Spring provides great tool for development of Groovy and Grails based projects. If Eclipse is your development IDE, you should definetelly get GGTS.
We will show how to create a new Grails project with Vaadin using GGTS in this article.
Search for Grails type of project in New Project
wizard and click on Next
.
Type a name of the project and click on Finish
.
Open file BuildConfig.groovy
and add Vaadin plugin compile ":vaadin:7.6.1"
.
Run grails compile
to reload dependencies. Click on Grail icon in GGTS and type there compile
.
Then run grails vaadin-quickstart
that will generate sample code to easier project configuration.
The command vaadin-quickstart
will generate MyUI.groovy
and remove URL mapping inside UrlMapping.groovy
.
We have to disable Grails to take control over the URLs, so Vaadin can do it instead. Open UrlMappings.groovy
file and make sure the URL mapping is empty, so the content of the file is the following.
Click on Grail icon again and run run-app
command.
The latest version of the plugin is always available on
Now your application is running on