springcloud学习
fuqinderen1
这个作者很懒,什么都没留下…
展开
-
微服务后台启动报错:The web application [ROOT] appears to have started a thread named [spring.cloud.inetutils
后台启动报错:The web application [ROOT] appears to have started a thread named [spring.cloud.inetutils] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: 原因:后台项目的每一个服务中properties中都写明了配置所在的nacos的IP地址,账号...原创 2022-05-09 12:38:50 · 36441 阅读 · 0 评论 -
springcloud微服务注册进zookeeper后直接访问404报错
前情提要:将PaymentMain8004服务在zookeeper注册成功,并且在服务器端启动zkCli.sh,执行ls /services/cloud-provider-payment可以看到我们自己的微服务已进在zookeeper中注册成功了但是访问http://localhost:8004/payment/getzk却报404的错误,研究了半天时间(真的半天),终于让我弄清楚了怎么回事解决:将PaymentController拉到Controller文件夹外,与PaymentM原创 2022-03-30 19:58:25 · 2359 阅读 · 0 评论