spring-boot(1)项目创建

1.如何创建spring-boot项目

image-20210726111216854

image-20210726111325507

image-20210726111356012

2.如何启动项目

首先需要编写一个controller,如下图,然后点击工具栏的run,即启动运行,访问localhost:8080/hello/hello将返回”hello”

image-20210727082613448

  1. 修改后如何立刻生效

    参考热部署文档