Caused by: 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
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
at org.springframework.beans.
ErrCode:500, ErrMsg:Nacos Server did not start because dumpservice bean construction failure :No Da
最新推荐文章于 2024-06-29 00:38:53 发布
在尝试启动Nacos Server时遇到了Bean创建异常,具体表现为'externalDumpService'的初始化失败,错误代码500。问题根源是DataSource未设置,导致Nacos无法正常启动。堆栈跟踪显示,错误源自于'DumpService'在尝试dump操作时,由于缺少DataSource而抛出异常。
摘要由CSDN通过智能技术生成