1.github下载elasticsearch的源码包
2.本地jdk用1.8
3.gradle版本为4.10.3
4.解压源码后,修改源代码根目录下的build.gradle文件,加入阿里云的maven镜像:allprojects {
repositories {
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }}}
5.在elasticsearch 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 a