1.报错步骤
一、下载nacos官方包
二、解压

三、进行打开
startup.cmd
四、报错
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)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServe

在尝试启动Nacos时遇到了ApplicationContextException,问题源于无法启动内嵌的Tomcat服务器。错误的根本原因是外部数据源初始化失败,具体表现为加载jdbc.properties时出错。解决方法包括:尝试使用startup.cmd -m standalone命令进行单机模式启动,或者按照官方文档进行集群部署。
最低0.47元/天 解锁文章
2090

被折叠的 条评论
为什么被折叠?



