ITeye博客

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

mutourenoo · 2018-07-18 20:47 · spring cloud · 编程语言 · Markdown

报错信息:[color=red]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)[/color] eureka客户端 连接不到config 配置中心 1.yml配置文件名称 application 关键字都换成bootstrap 2.删除项目中所有的这个依赖 [code="java"] org.springframework.cloud spring-cloud-config-server [/code] 3.测试成功

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。