• Nacos系列【Error creating bean with name 'memoryMonitor' ... ErrMsg:Nacos Server did not start because dumpservice bean construction failure : No DataSource set】


    1.问题

      nacos正在使用,重启之后报下面的错

    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'memoryMonitor' defined in URL [jar:file:/app/nacos/target/nacos-server.jar!/BOOT-INF/lib/nacos-config-2.0.3.jar!/com/alibaba/nacos/config/server/monitor/MemoryMonitor.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'asyncNotifyService': Unsatisfied dependency expressed through field 'dumpService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'externalDumpService': Invocation of init method failed; nested exception is ErrCode:500, ErrMsg:Nacos Server did not start because dumpservice bean construction failure :
    No DataSource set

    2.解决方案

    通过“No DataSource set”可以知道,是数据库出现了问题,检查数据库配置,或者查看数据库是否能正常连接。我这里是因为数据库被人关了,出现的现象就是nacos正在使用,突然不能用了。

  • 相关阅读:
    IEnumerator & IEnumerable
    GameObject.Active
    Unity3D的四种坐标系
    gvim
    Platform Dependent Compilation
    delegate
    new 约束
    UIPanel
    UIButton
    UISprite
  • 原文地址:https://www.cnblogs.com/hujunwei/p/16082889.html
Copyright © 2020-2023  润新知