Skip to content

Instantly share code, notes, and snippets.

@carlosjgp
Created July 24, 2016 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlosjgp/9041d2be1b063f570a27c20f4be45c99 to your computer and use it in GitHub Desktop.
Save carlosjgp/9041d2be1b063f570a27c20f4be45c99 to your computer and use it in GitHub Desktop.
[Spring Boot] How to run Spring Boot app
mvn clean package && java -jar target/nombreArtefacto-VERSION.jar
mvn clean spring-boot:run
<proejct>
...
<build>
...
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
...
</plugins>
</build>
</proejct>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment