spring-boot application without a datasource

前端 未结 5 1579
粉色の甜心
粉色の甜心 2020-12-08 19:38

Is it possible to create a spring-boot application that has NO datasource? In my case i just need a simple REST app but it seems on start up that there is an attempt to auto

5条回答
  •  萌比男神i
    2020-12-08 19:49

    I had this issue, Once I have removed below dependency it started working.

    
            org.springframework.boot
            spring-boot-starter-data-jpa
        
    

提交回复
热议问题