springboot搭建

springboot搭建

1,访问:https://spring.io/guides/gs/spring-boot/ 进行搭建步骤的查看;

2,git clone https://github.com/spring-guides/gs-spring-boot.git 进行源码下载

中间进行了mvnm.bat的执行,但是会failure。

3,mvn package && java -jar target/gs-spring-boot-0.1.0.jar 进行环境启动

经过哗啦哗啦的一阵下载,就可以启动了;

然后使用网页访问http://localhost:8080/ 就可以了;

springboot - 习惯优于配置

原文地址:https://www.cnblogs.com/stono/p/8107864.html