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项目

相关文章:

猜你喜欢
相关资源
相似解决方案