报错信息:[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.删除项目中所有的这个依赖
3.测试成功
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.删除项目中所有的这个依赖
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-server</artifactId>
</dependency>
3.测试成功