1、问题原因:我忘了删了一个啥文件夹(Zookeeper开头的),一直没有用过,还以为没什么用,结果一删发现Zookeeper启动不了了;
2、解决方法:清空日志apache kafka - Zookeeper: java.io.IOException: No snapshot found, but there are log entries. Something is broken - Stack Overflow
3、我清空日志的地方: Zookeeper解压的文件夹下:D:\YJDev\apache-zookeeper-3.8.0-bin.tar\apache-zookeeper-3.8.0-bin\log\version-2
注:本文方法非原创,原文链接在2处,仅是因为个人想留个记忆,方便以后开发解决此问题,如有侵权,请邮箱联系:jiuqingchangjie@163.com