运行测试类,报错:
AopAutoConfiguration matched: -
@ConditionalOnProperty (spring.aop.auto=true) matched (OnPropertyCondition)
这时候需要在你写的Dao Bean类前添加@Component
如:
运行测试类,报错:
AopAutoConfiguration matched: -
@ConditionalOnProperty (spring.aop.auto=true) matched (OnPropertyCondition)
这时候需要在你写的Dao Bean类前添加@Component
如: