其他分享
首页 > 其他分享> > Nacos系列---【Error creating bean with name 'memoryMonitor' ... ErrMsg:Nacos Server did not s

Nacos系列---【Error creating bean with name 'memoryMonitor' ... ErrMsg:Nacos Server did not s

作者:互联网

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正在使用,突然不能用了。

标签:...,creating,Nacos,nacos,bean,Error,name
来源: https://www.cnblogs.com/hujunwei/p/16082889.html