springboot If you want an embedded database please put a supported one on the classpath
开始,加了这个注解,一定不要加这段代码 这个注解是排除自动注入 导致mapper注入不进去。
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
org.springframework.beans.factory.BeanCreationException: Error creating bean wit...
原创
2018-10-27 16:26:37 ·
5290 阅读 ·
0 评论