1.在Eclipse中安装Spring Boot支持

Eclipse使用SpringBoot2.1搭建web项目

Eclipse使用SpringBoot2.1搭建web项目

 

Eclipse使用SpringBoot2.1搭建web项目

Eclipse使用SpringBoot2.1搭建web项目

Eclipse使用SpringBoot2.1搭建web项目

Eclipse使用SpringBoot2.1搭建web项目

Eclipse使用SpringBoot2.1搭建web项目

Eclipse使用SpringBoot2.1搭建web项目

Eclipse使用SpringBoot2.1搭建web项目

2.创建一个Spring Boot项目

Eclipse使用SpringBoot2.1搭建web项目

Eclipse使用SpringBoot2.1搭建web项目

Eclipse使用SpringBoot2.1搭建web项目

Eclipse使用SpringBoot2.1搭建web项目

Eclipse使用SpringBoot2.1搭建web项目

Eclipse使用SpringBoot2.1搭建web项目

Eclipse使用SpringBoot2.1搭建web项目

Eclipse使用SpringBoot2.1搭建web项目

3.运行Spring Boot项目

Eclipse使用SpringBoot2.1搭建web项目

4.打开浏览器输入Controller中设置的请求地址,见下图成功!(此处有好几个注意点哦,也就是你们喜欢说的坑。省略不详细描述了,如果你搞不定可以留言给我)

Eclipse使用SpringBoot2.1搭建web项目

相关文章:

  • 2021-11-17
  • 2021-12-07
  • 2021-09-15
  • 2021-08-03
  • 2021-08-20
  • 2021-09-09
  • 2021-04-13
  • 2021-06-23
猜你喜欢
  • 2021-05-12
  • 2022-01-01
  • 2021-06-21
  • 2021-04-16
  • 2021-06-09
  • 2021-08-13
  • 2021-11-04
相关资源
相似解决方案