Sign In
Sign In

Deploy a Spring App

Updated on 11 April 2025

You can find the step-by-step deployment guide here.

Hostman uses the following environment when building a Spring application:

  • OpenJDK 8, 11, 17, 18, or 19
  • Maven

Hostman will execute the following commands during the build:

apt install -y openjdk-{{env_version}}-jre-headless maven

The default start command is:

mvn spring-boot:run

Make sure that:

  • Your project has the pom.xml file.
  • The spring-boot-starter dependency is correctly defined in pom.xml.
Was this page helpful?
Updated on 11 April 2025

Do you have questions,
comments, or concerns?

Our professionals are available to assist you at any moment,
whether you need help or are just unsure of where to start.
Email us
Hostman's Support