错误: 找不到或无法加载主类 Files\kafka\kafka_2.12-2.0.0\libs\activation-1.1.1.ja r;D:\Program
1.修改D:\toolsanzhuang\kafka\kafka_2.12-2.0.0\bin\windows\kafka-run-class修改为:set COMMAND=%JAVA% %KAFKA_HEAP_OPTS% %KAFKA_JVM_PERFORMANCE_OPTS% %KAFKA_JMX_OPTS% %KAFKA_LOG4J_OPTS% -cp "%CLASSPATH%&q
·
1.修改D:\toolsanzhuang\kafka\kafka_2.12-2.0.0\bin\windows\kafka-run-class
修改为:
set COMMAND=%JAVA% %KAFKA_HEAP_OPTS% %KAFKA_JVM_PERFORMANCE_OPTS% %KAFKA_JMX_OPTS% %KAFKA_LOG4J_OPTS% -cp "%CLASSPATH%" %KAFKA_OPTS% %
2.classpath的配置
.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
3.kafka的安装目录不能有空格
更多推荐
已为社区贡献1条内容
所有评论(0)