栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 前沿技术 > 大数据 > 大数据系统

Error creating bean with name ‘braveHttpServerHandler‘ defined in class path

Error creating bean with name ‘braveHttpServerHandler‘ defined in class path

启动微服务报错

目前解决办法:先注释掉链路追踪的依赖,后面需要再加上

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-12-05 10:05:07.355 ERROR 608 --- [  restartedMain] o.s.b.d.LoggingFailureAnalysisReporter   : 

Description:

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

Reason: Failed to determine a suitable driver class


Action:

Consider the following:
    If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
    If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).

解决办法:在配置中心添加数据库或注释掉数据库依赖(这里添加数据库),如果配置中心有数据库,检查数据中心是否加注解

spring:
  application:
    name: update-service
  cloud:
    config:
      uri: http://localhost:9007
      profile: default
      label: master
  config:
    import: optional:configserver:http://localhost:9007
  datasource:
    driver-class-name: com.mysql.jdbc.Driver
    url: jdbc:mysql://localhost:3306/bill-manager?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT
    username: root
    password: 123456

com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server

未指定eureka注册中心,在本地或仓库application.yml进行配置

Attempting to connect to: [127.0.0.1:5672]

未打开rabbitmq控制台

解决方法:rabbitmq安装全过程[含安装包,可直接用]_love_yr的博客-CSDN博客

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/654438.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号