Spring-boot-菜鸟-快速创建应用

file-new-project 选择Spring boot ,然后选择自己的配置类型,maven  jdk版本等

结果:

 

目录解析:

resources文件夹中目录结构
static:保存所有的静态资源; js css  images;
templates:保存所有的模板页面;(Spring Boot默认jar包使用嵌入式的Tomcat,默认不支持JSP页面);
  可以使用模板引擎(freemarker、thymeleaf);
application.properties:Spring Boot应用的配置文件;可以修改一些默认设置;包括端口号等等

 

posted @ 2020-05-23 21:44  小丑quan  阅读(112)  评论(0)    收藏  举报