java.lang.IllegalArgumentException Property sqlSessionFactory or sqlSessionTemplate are require
springboot集成mybatis数据层框架出现错误,删除主启动类@SpringbootApplication注解
里面的数据库自动配置
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
改为
@SpringBootApplication
java.lang.IllegalArgumentException Property sqlSessionFactory or sqlSessionTemplate are require