SpringCloud报错以及解决方法
一.Nacos报错:NacosException: failed to req API:/nacos/v1/ns/instance after all servers([localhost:8848]
原因:
没有启动Nacos黑窗口
解决方法:
在Nacos文件夹中点击startup.cmd
二.Springboot出现javax.servlet.ServletException: Circular view path [xxx]...异常
将controller类上的@Controller注解改为@RestController
浙公网安备 33010602011771号