`

spring cloud 客户端连接config配置中心报错

阅读更多
报错信息:Description:
Cannot determine embedded database driver class for database type NONE
Action:
If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (the profiles "dev,redis,config,mongodb,activemq,socketio" are currently active)


eureka客户端 连接不到config 配置中心

1.yml配置文件名称
application 关键字都换成bootstrap

2.删除项目中所有的这个依赖
<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-config-server</artifactId>
</dependency>


3.测试成功
  



分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics