spring-cloud-docker-microservice-book-code icon indicating copy to clipboard operation
spring-cloud-docker-microservice-book-code copied to clipboard

No qualifying bean of type 'javax.sql.DataSource' available:

Open luangxiao opened this issue 7 years ago • 1 comments

您好,我在运行 microservice simple provider user 项目时遇到这个问题,不知道该怎么处理 Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'javax.sql.DataSource' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

luangxiao avatar Nov 01 '18 05:11 luangxiao

@luangxiao 执行mvn clean install 确定能正常构建再启动哈。

eacdy avatar Nov 06 '18 06:11 eacdy