Java-JPA让Springboot启动不检查JPA的数据源配置
Posted junneyang 的博客
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Java-JPA让Springboot启动不检查JPA的数据源配置相关的知识,希望对你有一定的参考价值。
#https://stackoverflow.com/questions/24074749/spring-boot-cannot-determine-embedded-database-driver-class-for-database-type
#https://github.com/spring-projects/spring-boot/issues/4352
#https://gist.github.com/pradp/86fa604d4a07564d9b2b
#https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-auto-configuration.html
#https://segmentfault.com/a/1190000004316491
#https://blog.csdn.net/zhangjq520/article/details/53996178
#spring.datasource.continue-on-error = true
#spring.datasource.ignore-exception-on-pre-load = true
#spring.datasource.initialization-fail-fast = false
spring.autoconfigure.exclude = org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
以上是关于Java-JPA让Springboot启动不检查JPA的数据源配置的主要内容,如果未能解决你的问题,请参考以下文章