HomeAdvisor / Kafdrop

Kafka UI and Monitoring Tool
Apache License 2.0
399 stars 163 forks source link

Error while running kafdrop .jar #56

Open iAnuj11 opened 4 years ago

iAnuj11 commented 4 years ago

Hi,

I am from testing background and want o build selenium test suite to verify the kafka data in topics.

I am working on window 10 OS and have configured maven and able to build after running mvn clean package ..Next step I am trying to execute

' java -jar ./target/kafdrop-2.1.0.jar --zookeeper.connect=localhost:2181... --kafka.brokers=localhost:2181...' and getting error message as :

PS C:\WINDOWS\system32> java -jar ./target/kafdrop-2.1.0.jar --zookeeper.connect=localhost:2181... --kafka.brokers=localhost:2181... Exception in thread "main" java.lang.ClassNotFoundException: com.homeadvisor.kafdrop.KafDrop at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:93) at java.lang.ClassLoader.loadClass(Unknown Source) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:46) at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) at org.springframework.boot.loader.Launcher.launch(Launcher.java:51) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52)

Any resolution to this error? Regards, -Anuj