Spring com Maven
Gerando um projeto Spring com Maven
Acesse o site start.spring.io.
Selecione as opções conforme abaixo:
Generate a Maven Project
with Java
and Spring Boot 2.0.7 (SNAPSHOT)
Group com.example
Artifact Demo
Dependencies
Web
Clique em Generate Project.

Importando o projeto no Eclipse
File -> Import -> Existing Maven Projects

Clique em Finish.
Importando o projeto no IntelliJIDEA
File -> New -> Project from Existing Sources -> Selecione o diretório do arquivo Pom.xml
Comandos
Build do projeto
mvn clean install
Iniciar spring boot
mvn spring-boot:run
Last updated
Was this helpful?