springboot
梦里图绪
我变强了,也变秃了
展开
-
SpringBoot出现"Error creating bean with name"的一种情况
在使用springboot做单元测试的时候碰到以下问题:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.pose.boot.BootApplicationTests': Unsatisfied dependency expressed t...原创 2018-04-06 14:24:31 · 77568 阅读 · 2 评论 -
springboot 注解一
@SpringBootApplication@SpringBootApplication注解标注在Spring Boot启动类上,是最核心的主角.是 @SpringBootConfiguration、@EnableAutoConfiguration、@ComponentScan 这三个注解的组合,之前的版本就是使用这三个注解.@EnableAutoConfiguration允许Spring...原创 2019-04-26 20:47:08 · 244 阅读 · 0 评论