Spring Boot jdbc datasource autoconfiguration fails on standalone tomcat

前端 未结 5 1443
别跟我提以往
别跟我提以往 2020-12-19 02:00

While trying to deploy and start a spring boot application on a standalone tomcat (7) instance, we ran into an issue were the autoconfigured spring datasource bean isn\'t fo

5条回答
  •  悲&欢浪女
    2020-12-19 02:13

    @EnableAutoConfiguration(exclude = { DataSourceAutoConfiguration.class,
            HibernateJpaAutoConfiguration.class,
            DataSourceTransactionManagerAutoConfiguration.class })
    

    Worked for me for version 1.3.3

提交回复
热议问题