1.需求
2.项目构建
1)
2)
3)
4)Finish。
5)在这里pom.xml文件和启动类,已通过导入,构建好了,现在需要的就是写一个Controller;
6)在SpringApplication类中,点击绿色三角箭头,启动项目;
7)打开浏览器,输入http://localhost:8080/hello
SpringBoot快速入门,使用Intellij Idea新建SpringBoot项目
Guess you like
Origin blog.csdn.net/qq_42393720/article/details/121011806
Recommended
Ranking