About Rajith Delantha

Rajith is an software engineer, open source contributor and love to develop application based on open source projects.

Run Vaadin Apps in Intellij IDEA

In this article I’m going to show you how to run vaadin applications with Intellij IDEA. Vaadin provide some plugins for Eclipse and Netbeans. But for Intellij IDEA there are no plugins yet. But to deploy vaadin app is easier than other two IDEs.
Here are the steps that you want to follow.
1. First Create a New Project , File –> New Project –> Create Project From Scratch –> Give sample_vaadin as application name and select Java module click Next –> Next.
Now Select Web Application as Technology and click Finish.
2. Now create a lib folder in web/WEB-INF/lib and copy the vaadin jar file into the folder. You can get the latest vaadin jar file http://vaadin.com/home . Now the Project hierarchy looks like this.
3.After that File –> Project Structure –> Artifacts . In below you can see some error and click Fix button. That will add vaadin jar file to your exploded war. Now Click OK.
4. To deploy your application you need a web server. So in here I use tomcat 7. To config it,
Run –> Edit Configuration –> Click + sign –>Select Tomcat –> localhost .
Give vaadin as Name and Select tomcat as Application Server (If the server is not there Click configure and goto the tomcat path it will automatically recognize it)
5. Now create some hello world programme according to vaadin book and click the Run button to deploy it.

Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you two of our best selling eBooks for FREE!

JPA Mini Book

Learn how to leverage the power of JPA in order to create robust and flexible Java applications. With this Mini Book, you will get introduced to JPA and smoothly transition to more advanced concepts.

JVM Troubleshooting Guide

The Java virtual machine is really the foundation of any Java EE platform. Learn how to master it with this advanced guide!

Given email address is already subscribed, thank you!
Oops. Something went wrong. Please try again later.
Please provide a valid email address.
Thank you, your sign-up request was successful! Please check your e-mail inbox.
Please complete the CAPTCHA.
Please fill in the required fields.

Leave a Reply


six − 2 =



Java Code Geeks and all content copyright © 2010-2014, Exelixis Media Ltd | Terms of Use | Privacy Policy
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.
Do you want to know how to develop your skillset and become a ...
Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you two of our best selling eBooks for FREE!

Get ready to Rock!
You can download the complementary eBooks using the links below:
Close