創建 web項目
配置pom.xml文件 ------相當於jar包
配置application.yml -----配置文件(spring數據庫連接、server服務、logging日志等)
創建 package (entity、controller、service、configuration、repository、interceptor等)
小例子:
entity:Person

數據持久化(dao):

controller:

spring 自帶Junit測試@SpringBootTest,不用自己在pom.xml里配置Junit

