---
title: "spring cloud 客户端连接config配置中心报错"
author: "mutourenoo"
date: "2018-07-18T20:47:00Z"
tags: []
categories: ["编程语言"]
slug: "spring-cloud-config"
draft: false
lastmod: "2018-07-18T20:47:00Z"
id: 2427113
url: "https://mutourenoo.iteye.com/blog/2427113"
---

报错信息：\[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.测试成功