springboot创建demo例子
1、springboot搭建完了之后,可以先大致了解一下。pom.xml这个里面放了我们很多的配置,比如mybatis和MySQL等等,可以了解一下

3、DemoApplication这个类就是我们的启动类,以后启动springboot就可以使用

5、右击Run As,选择springboot启动

7、在浏览器输入http://localhost:8080/hello然后看到运行结果!

1、springboot搭建完了之后,可以先大致了解一下。pom.xml这个里面放了我们很多的配置,比如mybatis和MySQL等等,可以了解一下
3、DemoApplication这个类就是我们的启动类,以后启动springboot就可以使用
5、右击Run As,选择springboot启动
7、在浏览器输入http://localhost:8080/hello然后看到运行结果!