boot启动报错,nacos拒绝连接 401

启动springboot报错 

 ERROR 18388 --- [ecurity.updater] c.a.nacos.client.security.SecurityProxy  : login failed: {"code":401,"content":"<html><body><h1>Whitelabel Error Page</h1><p>This application has no explicit mapping for /error, so you are seeing this as a fallback.</p><div id='created'>Fri Jun 11 12:33:03 CST 2021</div><div>There was an unexpected error (type=Unauthorized, status=401).</div><div>Unauthorized</div></body></html>

你的boot配置里面有重名的url,要注意控制器不能有相同的映射名称哦。

 

 

您好,我是有问必答小助手,您的问题已经有小伙伴解答了,您看下是否解决,可以追评进行沟通哦~

如果有您比较满意的答案 / 帮您提供解决思路的答案,可以点击【采纳】按钮,给回答的小伙伴一些鼓励哦~~

ps:问答VIP仅需29元,即可享受5次/月 有问必答服务,了解详情>>>https://vip.csdn.net/askvip?utm_source=1146287632

您好,解决了吗?我的问题和你一样