不为失败找理由,要为成功找方法。

elasticsearch-5.6.14源码编译 导入到idea报错,求指教

Elasticsearch | 作者 jyingzhi | 发布于2019年05月30日 | 阅读数:2514

1.github下载的源码包
2.本地jdk用1.8
3.gradle版本为4.10.3
4.解压源码后,在home目录执行gradle idea报错
报错如下:
D:\code\elasticsearch-5.6.14>gradle idea
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.10.3 ... html.
Daemon will be stopped at the end of the build stopping after processing

FAILURE: Build failed with an exception.

* Where:
Build file 'D:\code\elasticsearch-5.6.14\benchmarks\build.gradle' line: 31

* What went wrong:
A problem occurred evaluating project ':benchmarks'.
> Failed to apply plugin [id 'carrotsearch.randomized-testing']
> Cannot add task 'test' as a task with that name already exists.

gradle新手,请多指教
已邀请:

要回复问题请先登录注册