一、编写应用
1、创建:File-new-Project-Spring Initializr
2、创建TestController,访问测试:localhost:8080/test
3、部署:java -jar demo-0.0.1-SNAPSHOT
二、组成分析
依赖:pom.xml
启动类:注解
配置:application.properties
静态文件:static
模板文件:templates
三、Profile
一、编写应用
1、创建:File-new-Project-Spring Initializr
2、创建TestController,访问测试:localhost:8080/test
3、部署:java -jar demo-0.0.1-SNAPSHOT
二、组成分析
依赖:pom.xml
启动类:注解
配置:application.properties
静态文件:static
模板文件:templates
三、Profile