问题 Nacos正在使用,重启之后报下面的错 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with
问题
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
解决方案
通过“No DataSource set”可以知道,是数据库出现了问题,检查数据库配置,或者查看数据库是否能正常连接。我这里是因为数据库被人关了,出现的现象就是nacos正在使用,突然不能用了。
来源地址:https://blog.csdn.net/weixin_44988127/article/details/130074505
--结束END--
本文标题: Nacos系列---【Error creating bean with name 'memoryMonitor' ... ErrMsg:Nacos Server did not start becau
本文链接: https://lsjlt.com/news/416358.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-23
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0