0
点赞
收藏
分享

微信扫一扫

启用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、修改conf下的配置文件,把数据库配置上;

启用nacos的客户端报错_云服务_02

启用nacos的客户端报错_数据库配置_03

 

 2、

启用nacos的客户端报错_数据库配置_04

3、配置单节点启动

启用nacos的客户端报错_spring_05

 

 4、正常启用startup.cmd即可

启用nacos的客户端报错_大数据_06

 

举报

相关推荐

0 条评论