nacos1.4.1启动报错acos is starting with cluster

原来使用的nacos版本是1.1.3,感觉版本有点低了,就想换个高点的。

将nacos版本换成1.4.1,点击启动,第一行显示"nacos is starting with cluster",然后启动失败。
失败原因:
“nacos is starting with cluster”,意为nacos以群集模式启动。于是,查了一下1.1.3到1.1.4的相关差异,得知1.4.1的默认启动模式是集群模式。而集群模式在没有进行集群配置的情况下,就会启动失败。
解决办法:将startup.cmd中的set MODE="cluster"修改为set MODE=“standalone”。
启动成功:

"nacos is starting with standalone"

         ,--.
       ,--.'|
   ,--,:  : |                                           Nacos 1.4.1
,`--.'`|  ' :                       ,---.               Running in stand alone mode, All function modules
|   :  :  | |                      '   ,'\   .--.--.    Port: 8848
:   |   \ | :  ,--.--.     ,---.  /   /   | /  /    '   Pid: 34684
|   : '  '; | /       \   /     \.   ; ,. :|  :  /`./   Console: http://192.168.56.1:8848/nacos/index.html
'   ' ;.    ;.--.  .-. | /    / ''   | |: :|  :  ;_
|   | | \   | \__\/: . ..    ' / '   | .; : \  \    `.      https://nacos.io
'   : |  ; .' ," .--.; |'   ; :__|   :    |  `----.   \
|   | '`--'  /  /  ,.  |'   | '.'|\   \  /  /  /`--'  /
'   : |     ;  :   .'   \   :    : `----'  '--'.     /
;   |.'     |  ,     .-./\   \  /            `--'---'
'---'        `--`---'     `----'

2021-03-10 13:42:17,673 INFO Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@73a8da0f' of type [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2021-03-10 13:42:17,678 INFO Bean 'methodSecurityMetadataSource' of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2021-03-10 13:42:18,873 INFO Tomcat initialized with port(s): 8848 (http)

2021-03-10 13:42:19,352 INFO Root WebApplicationContext: initialization completed in 6993 ms

2021-03-10 13:42:24,663 INFO Initializing ExecutorService 'applicationTaskExecutor'

2021-03-10 13:42:24,784 INFO Adding welcome page: class path resource [static/index.html]

2021-03-10 13:42:25,373 INFO Creating filter chain: Ant [pattern='/**'], []

2021-03-10 13:42:25,421 INFO Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@51684e4a, org.springframework.security.web.context.SecurityContextPersistenceFilter@5bbc9f97, org.springframework.security.web.header.HeaderWriterFilter@1734f68, org.springframework.security.web.csrf.CsrfFilter@345e5a17, org.springframework.security.web.authentication.logout.LogoutFilter@3d4d3fe7, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@41382722, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2102a4d5, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6ce1f601, org.springframework.security.web.session.SessionManagementFilter@5ed190be, org.springframework.security.web.access.ExceptionTranslationFilter@443dbe42]

2021-03-10 13:42:25,583 INFO Initializing ExecutorService 'taskScheduler'

2021-03-10 13:42:25,603 INFO Exposing 2 endpoint(s) beneath base path '/actuator'

2021-03-10 13:42:25,721 INFO Tomcat started on port(s): 8848 (http) with context path '/nacos'

2021-03-10 13:42:25,725 INFO Nacos started successfully in stand alone mode. use embedded storage
  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值