【异常】SpringBoot启动启动项目出现o.s.b.d.LoggingFailureAnalysisReporter 错误解决方法

把@SpringBootApplication改成 @SpringBootApplication(exclude={DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class})
代码如下:
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class})
public class SpringbootmybatisApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringbootmybatisApplication.class, args);
    }
}

重新debug:

 

posted on 2023-09-02 23:31  为学日损  阅读(95)  评论(0编辑  收藏  举报

导航