Before reading this article, you need to understand and master the following points of knowledge:
1, how to configure the Tomcat server in NetBeans;
2, how to configure Maven in NetBeans;
3, how to configure the JDK in NetBeans;
4. How to use Maven to build and run projects in NetBeans.
Objective
This article will lead readers to quickly create a Vaadin project using NetBeans, MAVEN, and other build tools.
Materials
1, JDK1.8
2. Netbeans 8.1
3, Maven 3.3.9 (with Aliyun repository mirror). See here for details: http://rickqin.blog.51cto.com/1096449/1868272
4. Tomcat 8.x
Implementation steps
1. Open NetBeans.
2. Create a new item, or press the shortcut key CTRL + Shift + N.
3. Select "Maven" in the "categories" List of the pop-up dialog box, select "Create from Archetype" in the "Projects" list, then next.
4. Enter "Vaadin" in the Search text box and select "Vaadin-archetype-application" in the search results below. In the Version text box, enter 7.7.6. This article was released on January 11, 2017 and the latest version of Vaadin at the time of publication is 7.7.6. And then next.
5, according to the reader's own environment properly set the name of the new project, Project storage path and MAVEN needs a variety of information. The Vaadin project requires ThemeName, Uiname can remain the default value. And then next.
6. In the NetBeans Project list panel, locate the project you just created, right-click the project name, and select Clean & Build. NetBeans will call maven to compile the project.
7. After compiling, right click on the project name in the project list and select "Run" in the popup menu. If everything is set up correctly, NetBeans will automatically open the default browser for you in your system and display the demo page that comes with your project in your browser.
This article is from the "Bitterjava" blog, make sure to keep this source http://rickqin.blog.51cto.com/1096449/1890928
Vaadin study notes-creating Vaadin projects with NetBeans