springboot采用默认配置简化了配置,有两种加载方式:spring.factories加载classpath下的jar包,以及@Enablexxx,加载制定的配置文件。
个人写得很简单,请参考https://blog.youkuaiyun.com/Let_me_tell_you/article/details/80951595
springboot采用默认配置简化了配置,有两种加载方式:spring.factories加载classpath下的jar包,以及@Enablexxx,加载制定的配置文件。
个人写得很简单,请参考https://blog.youkuaiyun.com/Let_me_tell_you/article/details/80951595