当前位置:首页 » 《休闲阅读》 » 正文

nacos2.2.1启动报错:org.springframework.context.ApplicationContextException: Unable to start web server;等

9 人参与  2024年04月26日 13:50  分类 : 《休闲阅读》  评论

点击全文阅读


nacos2.2.1启动报错:org.springframework.context.ApplicationContextException: Unable to start web server;等

windows下启动 nacos 界面的报错日志如下: 解决方法一 解决方法二

windows下启动 nacos 界面的报错日志如下:

在这里插入图片描述

找到 nacos.log 日志文件去查看详细的启动日志,在最后几行发现这样的报错日志:

Caused by: com.alibaba.nacos.api.exception.NacosException: java.net.UnknownHostException: jmenv.tbsite.netat com.alibaba.nacos.core.cluster.lookup.AddressServerMemberLookup.run(AddressServerMemberLookup.java:152)at com.alibaba.nacos.core.cluster.lookup.AddressServerMemberLookup.doStart(AddressServerMemberLookup.java:100)at com.alibaba.nacos.core.cluster.AbstractMemberLookup.start(AbstractMemberLookup.java:55)at com.alibaba.nacos.core.cluster.ServerMemberManager.initAndStartLookup(ServerMemberManager.java:224)at com.alibaba.nacos.core.cluster.ServerMemberManager.init(ServerMemberManager.java:171)at com.alibaba.nacos.core.cluster.ServerMemberManager.<init>(ServerMemberManager.java:152)at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)at java.lang.reflect.Constructor.newInstance(Constructor.java:423)at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:211)... 115 common frames omittedCaused by: java.net.UnknownHostException: jmenv.tbsite.netat java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:196)at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162)at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394)at java.net.Socket.connect(Socket.java:606)at sun.net.NetworkClient.doConnect(NetworkClient.java:175)at sun.net.www.http.HttpClient.openServer(HttpClient.java:499)at sun.net.www.http.HttpClient.openServer(HttpClient.java:594)at sun.net.www.http.HttpClient.<init>(HttpClient.java:278)at sun.net.www.http.HttpClient.New(HttpClient.java:375)at sun.net.www.http.HttpClient.New(HttpClient.java:393)at sun.net.www.protocol.http.HttpURLConnection.

点击全文阅读


本文链接:http://zhangshiyu.com/post/100542.html

<< 上一篇 下一篇 >>

  • 评论(0)
  • 赞助本站

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

关于我们 | 我要投稿 | 免责申明

Copyright © 2020-2022 ZhangShiYu.com Rights Reserved.豫ICP备2022013469号-1