Nacos在Windows10启动失败问题解决办法
"nacos is starting with cluster"
,--.
,--.'|
,--,: : | Nacos 2.0.0-BETA
,`--.'`| ' : ,---. Running in cluster mode, All function modules
| : : | | ' ,'\ .--.--. Port: 8848
: | \ | : ,--.--. ,---. / / | / / ' Pid: 11340
| : ' '; | / \ / \. ; ,. :| : /`./ Console: http://192.168.43.192:8848/nacos/index.html
' ' ;. ;.--. .-. | / / '' | |: :| : ;_
| | | \ | \__\/: . .. ' / ' | .; : \ \ `. https://nacos.io
' : | ; .' ," .--.; |' ; :__| : | `----. \
| | '`--' / / ,. |' | '.'|\ \ / / /`--' /
' : | ; : .' \ : : `----' '--'. /
; |.' | , .-./\ \ / `--'---'
'---' `--`---' `----'
2021-03-17 12:24:23,321 INFO The server IP list of Nacos is []
2021-03-17 12:24:24,324 INFO Nacos is starting...
java.io.IOException: java.lang.IllegalArgumentException: db.num is null
at com.alibaba.nacos.config.server.service.datasource.ExternalDataSourceServiceImpl.reload(ExternalDataSourceServiceImpl.java:130)
at com.alibaba.nacos.config.server.service.datasource.ExternalDataSourceServiceImpl.init(ExternalDataSourceServiceImpl.java:104)
......
2021-03-17 12:24:27,608 WARN [NotifyCenter] Destruction of the end
2021-03-17 12:24:27,609 ERROR Nacos failed to start, please see D:\nacos\logs\nacos.log for more details.
双击启动nacos中bin/目录下的startup.cmd时出现上面的错误 只需要在\nacos\bin下 用cmd 启动即可
startup.cmd -m standalone
出现这个表示启动成功