`

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.测试成功
  



分享到:
评论

相关推荐

    SpringCloud+JDK17整合EaseExcel记录

    本教程将围绕"SpringCloud+JDK17整合EaseExcel"这一主题,深入探讨如何在Spring Cloud项目中利用EaseExcel进行数据交互。 首先,我们来看Spring Cloud的基础知识。Spring Cloud是一系列框架的有序集合,它为开发者...

    spring cloud feign demo

    Spring Cloud Feign 是一个声明式的 Web 服务客户端,它使得编写 Web 服务客户端变得简单。Feign 让消费者能够以一种声明式的方式定义接口,这些接口将被自动映射到 HTTP 请求。它整合了 Ribbon 和 Eureka,可以方便...

    在SpringCloud 使用Security+Oauth2 时候再去使用fegin,发现出现401未授权

    我们在使用spring cloud时如果设置了oauth2授权模式,那么应用服务A再调用服务B时使用Feign请求会出现401授权认证的问题,那么解决办法就是在feign调用请求时获取到assessToken并设置到请求header中就可以解决这个...

    nacos资源.rar

    Nacos是阿里巴巴开源的一款分布式服务治理和配置中心的框架,它在微服务架构中扮演着重要角色,尤其在Spring Cloud Alibaba生态中。本压缩包包含了Nacos的三个不同版本:1.1.4、1.3.1和1.4.1。这些版本可能用于不同...

    WEB安全漏洞入门.pdf

    3. Java:存在特定的漏洞,例如Spring Cloud Config Server漏洞。 4. Ruby:Ruby on Rails框架中的远程代码执行漏洞和路径穿越漏洞。 5. Node.js:Express模块存在的任意文件读取漏洞。 6. Docker:利用API和SSRF...

Global site tag (gtag.js) - Google Analytics