启用nacos的客户端报错

场景:

个人自研项目需要用到云服务器,奈何预算有限,云服务器的镜像过多,内存不够了。

docker stats nacos看了下,就你占据内存最大,用本地启用吧。

结果,下载本地的nacos报错,经过排查,是以下原因报错;

org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:156)
启用nacos的客户端报错_第1张图片

 

解决步骤:

1、修改conf下的配置文件,把数据库配置上;

启用nacos的客户端报错_第2张图片

启用nacos的客户端报错_第3张图片

 

 2、启用nacos的客户端报错_第4张图片

3、配置单节点启动

启用nacos的客户端报错_第5张图片 

 4、正常启用startup.cmd即可

启用nacos的客户端报错_第6张图片

 

你可能感兴趣的:(分布式应用,大数据)