关于springboot

入门:https://blog.csdn.net/baidu_39298625/article/details/98102453/
何为POJO:https://blog.csdn.net/IndexMan/article/details/117870394

SpringBoot自动配置原理分析:
视频讲解:https://www.bilibili.com/video/BV1PE411i7CV?p=6
流程图位于第24分钟。

  • 在使用有参构造的时候,可以让某些参数内置生成
  • 注意导入依赖,例如Themeleaf不导入依赖的话会访问不到templates里面的index.html
  • 所有页面的静态资源都需要使用thymeleaf接管@{}
  • 国际化的过程中 需要将idea的file encoding设置成utf-8
posted @ 2022-05-18 09:58  SaltName  阅读(21)  评论(0)    收藏  举报