Deploy a Micronaut App
You can find the step-by-step deployment guide here.Â
Application Build Copy link
Hostman builds your app in the following environment:
- Java: versions 8, 11, 17, 18, 19, 21, and 25 are available when you create an app.
- Maven: used to build your app and manage dependencies.
By default, App Platform builds your app with this command:
mvn clean packageThe default start command is:
java -jar app.jarRequirements Copy link
- Make sure your project has a
pom.xmlfile with the correct Micronaut dependencies and build settings. - Make sure the Java version you select is compatible with your project and your version of Micronaut.
- Make sure your app listens on
0.0.0.0, not127.0.0.1. Otherwise, external connections won't work.