> Markdown version of [Starting a Vaadin Project in NetBeans](https://vaadin.com/docs/v14/flow/guide/start/netbeans). Section index: [llms.txt](https://vaadin.com/docs/v14/flow/llms.txt)

# <a id="getting-started.netbeans"></a>Starting a Vaadin Project in NetBeans

In this article, we go through creating or importing a new Vaadin project in NetBeans, and running it.

With NetBeans, you can create a project:

- Externally, using an application wizard or a Maven archetype, and then importing it to NetBeans.

- Creating from a Maven archetype in NetBeans.

Maven is a project management tool that goes beyond dependency management. See [Learning Maven Concepts](https://vaadin.com/blog/learning-maven-concepts) for more.

## <a id="getting-started.netbeans.importing"></a>Importing the Project

1. In NetBeans, select ****File** **›** **Open Project…​****.

2. Select the folder containing the Maven project you want to import.

   [Image: Open project]

3. Click **Open Project** to complete the process.

## <a id="getting-started.netbeans.maven"></a>Running Maven Goals

NetBeans has integration with Maven, enabling you to run Maven commands. Besides building and cleaning the project, you can run the web application in an embedded web server.

1. Select the project in the **Projects** view.

   NetBeans will show common Maven goals inside the **Navigator** view:

   [Image: Navigator view]

2. Double-click a goal to execute it.

### <a id="getting-started.netbeans.maven.running"></a>Running the Web Application

You can run the web application in an embedded web server by running the appropriate goal for your technology stack.

| Technology Stack | Embedded Server | Goal to Run       |
| ---------------- | --------------- | ----------------- |
| Spring Boot      | –               | `spring-boot:run` |
| CDI / Java EE    | Apache TomEE    | `tomee:run`       |
| Plain Java       | Jetty           | `jetty:run`       |

While the server is running, you can edit and save any source files, and the server notices the change and redeploys web application. You can also enable [Live Reload](https://vaadin.com/docs/v14/flow/configuration/live-reload.md).

To stop the server, click the stop button in the **Output** view:

[Image: Output view]

### <a id="getting-started.netbeans.maven.actions"></a>Binding Maven goals to IDE actions

As running the web application is a frequent task during development, you may want to bind such Maven goal to an *IDE action*.

To associate the **Run project** action to a Maven goal to start the server, do as follows:

1. Right-click the project in the **Projects** view and select **Properties**.

2. In the **Project Properties** window, select ****Categories** **›** **Actions****.

3. Select the ****Actions** **›** **Run project**** option.

4. Type the goal to start the web server in **Execute Goals**: either `jetty:run` (plain Java project), `tomee:run` (CDI project), or `spring-boot:run` (Spring Boot project).

5. Click OK:

   [Image: Actions]

Now you can deploy and run the web application by clicking the run icon in the toolbar:

[Image: Toolbar]

You can repeat the process to bind the same Maven goal to the **Debug project** IDE action as well.

If the Vaadin application was created with the project wizard or a Maven archetype, you should be able to access it at <http://localhost:8080>.

With the above configuration, you can now use NetBeans to develop your Vaadin application with Maven.

To learn more about:

- The key concepts in Maven, see [Learning Maven concepts](https://vaadin.com/blog/learning-maven-concepts).

- How to develop a Java web application without coding JavaScript or HTML, see [Vaadin quick start tutorial](https://vaadin.com/docs/latest/getting-started).

`A03D12C4-9580-4A12-8340-E0ECACA6FE9F`
