System cannot find the path — Apache Kafka Zookeep

2019-08-01 09:37发布

问题:

When i want to start a Zookeeper-Server with the command line I get the message that the system cannot find the path. Yesterday everything was fine and the code/path was correct. Today the system cannot find the path.

This is the content of my cmd.exe window which was opened 'As administrator' on Windows 7:

C:\Users\KESSP2>cd Documents

C:\Users\KESSP2\Documents>cd kafka

C:\Users\KESSP2\Documents\kafka>.\bin\windows\zookeeper-server-start.bat .\config\zookeeper.properties
Das System kann den angegebenen Pfad nicht finden.

C:\Users\KESSP2\Documents\kafka>

回答1:

Do the files still exist under bin\windows\? Is this definitely the right directory that you were using yesterday? Have you tried removing the leading .\?