No qualifying bean of type [javax.sql.DataSource] is defined

后端 未结 2 806
逝去的感伤
逝去的感伤 2021-01-18 06:59

Here is my pom

    
        org.springframework.boot
        spring-boot-star         


        
相关标签:
2条回答
  • 2021-01-18 07:19

    I upgraded to

     <parent>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-parent</artifactId>
            <version>1.3.3.RELEASE</version>
        </parent>
    

    It worked fine. But its really strange as it was working with version 1.0.1. also till one hour before.

    0 讨论(0)
  • 2021-01-18 07:25

    I was using 1.3.6 release and then changed back to 1.3.3 . It worked for me

    0 讨论(0)
提交回复
热议问题