win11 Nacos 报错 Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
解决方法
打开bin目录
右击使用VScode打开startup.cmd
可以看到默认的配置是 set MODE=“cluster”
我们将其改成 set MODE="standalone"即可。
修改后保存,重新运行再看一下。
可以看到,正常运行了。
用户名和密码默认都是 nacos