添加以下设置
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class})
spring boot 启动不连接数据库
猜你喜欢
转载自www.cnblogs.com/heyy520/p/9921839.html
今日推荐
周排行