Skip to main content

IntelliJ IDEA

Running a Quarkus module from JetBrains IntelliJ IDEA takes four steps.

1. Open the project​

Open the pom.xml of the repository from the welcome screen. IntelliJ IDEA imports it as a Maven project.

2. Install the Quarkus plugin​

  1. Go to File > Settings > Plugins (Preferences on macOS).
  2. Search for "Quarkus" and install the plugin.
  3. Restart the IDE if asked.

3. Create a run configuration​

  1. Open the drop-down next to the run icon and choose Edit Configurations.
  2. Add a configuration of type Maven.
  3. Give it a name, such as "Quarkus Dev", and select the module.
  4. Enter quarkus:dev as the command.
  5. To set the port, add -Dquarkus.http.port=8090.

4. Run​

Select the configuration and click Run. Quarkus starts in development mode: code changes are applied without restarting.

The same can be done from the built-in terminal:

./mvnw quarkus:dev

If it does not start​

SymptomWhat to check
Class not foundThat the project is compiled and the classpath is set up correctly
Port already in useChange the port in application.properties, or pass -Dquarkus.http.port=9090