我是靠谱客的博主 踏实灯泡,这篇文章主要介绍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)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
	at 

此处异常,是应为Nacos 启动分单击启动和集群配置两种,因测试环境部署的是单击,启动时 在 startup.sh 后面加上 -m standalone ,就OK了。

正确姿势如下:

sh > startup.sh -m standalone

最后

以上就是踏实灯泡最近收集整理的关于Nacos 启动异常的全部内容,更多相关Nacos内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(48)

评论列表共有 0 条评论

立即
投稿
返回
顶部