今天爱分享给大家带来o.s.b.d.LoggingFailureAnalysisReporter SpringBoot启动报错【解决方法】,希望能够帮助到大家。
把@SpringBootApplication改成 @SpringBootApplication(exclude={DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class})
即:
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class}) //@SpringBootApplication public class CloudApplication { public static void main(String[] args) { SpringApplication.run(CloudApplication.class, args); } }
即可运行成功。