前言
Problem: Crash after startup
解决办法
- Edit the startup file zkServer.cmd file and add at the end: At
pause
this time, you can see the complete test error message:
My reason is: the path of data and log in the conf configuration file under zookeeper is wrong. For the left slash, it should be two slashes. After modification, the startup is successful.