kafka Process ‘command ‘/jdk1.8.0_77/jre/bin/java.exe finished with non-zero exit value 1

kafka 源码 编译报错,没有有效错误消息;

Execution failed for task ':core:Kafka.main()'.
> Process 'command 'C:/Program Files/Java/jdk1.8.0_77/jre/bin/java.exe'' finished with non-zero exit value 1
 

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
 

解决方案:

打开File->Settings->Build,Execution,Deployment->Build Tools->Gradle,将build&Run tests using改成InterlliJ IDEA。

猜你喜欢

转载自blog.csdn.net/qq_31686241/article/details/125113723