【已解决】Alibaba Nacos问题:This is very likely to create a memory leak. Stack trace of thread

可能1:网友方法未解决

The web application [ROOT] appears to have started a thread named [com.alibaba.nacos.naming.push.receiver] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread【已解决】Alibaba Nacos问题:This is very likely to create a memory leak. Stack trace of thread_第1张图片
经过测试发现我们在引入依赖的时候需要把业务的依赖包先加入,再加入nacos配置
【已解决】Alibaba Nacos问题:This is very likely to create a memory leak. Stack trace of thread_第2张图片
第三方中间件时候最好把业务依赖的代码放在最前依赖,在放入中间件依赖

可能2:nacos中Data ID后缀忘记了

例如:
nacos-config-client-dev.yaml
最后要有.yaml后缀不要忘记
老版本nacos1.x
yml下面这个要配为yaml才可以,nacos无法识别yml和yaml,本质是一样的文件

file-extension: yaml #指定yaml格式的配置

你可能感兴趣的:(问题解决,springcloud)