SpringBoot-创建第一个SpringBoot项目(idea)

why are you trying so hard to fit in when you are born to stand out               

你本就生而不凡,为何还要拼命去融入大众尼?  

                                                                                                                      ——warkey 2019.01.20

使用IDEA 创建第一个SpringBoot 项目

1. 选择File –> New –> Project –>Spring Initialer –> 点击Next

2.自己修改 GroupArtifact 字段名 –>点击next

3.选择Web 然后Finish

4.等待Maven 依赖拉取完成,会自动生成XXXAppliction.java 类是程序的启动类

5.启动成功看到 Tomcat started on port(s): 8080 (http) with context path

启动界面

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.1.2.RELEASE)

使用

猜你喜欢

转载自blog.csdn.net/Warkey1998/article/details/86560363