美文网首页初见
Spring boot技术

Spring boot技术

作者: engineer_tang | 来源:发表于2020-06-19 00:00 被阅读0次

Spring boot是构建在Spring基础之上,使用springboot可以避免以前必须要做的的样板代码和配置信息,以只需要最少的工作量,更加健壮地使用Spring功能。

  1. spring boot框架的@SpringbootApplication是@Confuguration、@EnableAutoConfiguration、@ComponentScan的组合
  2. springboot读取配置文件的方式
    springboot默认的读取配置文件的方式为application.properties或application.yml

参考:https://www.cnblogs.com/lingboweifu/p/11797926.html

相关文章

网友评论

    本文标题:Spring boot技术

    本文链接:https://www.haomeiwen.com/subject/klzpxktx.html