摘要: 一句话概括就是 @Configuration 中所有带 @Bean 注解的方法都会被动态代理,因此调用该方法返回的都是同一个实例。 从定义来看, @Configuration 注解本质上还是 @Component,因此 <context:component-scan/> 或者 @ComponentS 阅读全文
posted @ 2019-03-07 15:08 纳兰容若♫ 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 学习Spring Boot 过程中遇到了下列这个问题 Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configu 阅读全文
posted @ 2019-03-07 13:58 纳兰容若♫ 阅读(5875) 评论(0) 推荐(0) 编辑