2 lxlcoding lxlcoding 于 2017.09.16 15:55 提问

elasticsearch源码导入idea编译报错

在根目录运行gradle idea 报错
FAILURE: Build failed with an exception.

  • Where:
    Build file 'D:\git_repository\elasticsearch\build.gradle' line: 315

  • What went wrong:
    Could not get unknown property 'projectSubstitutions' for DefaultExternalModuleDependency{group='junit', name='junit', version='4.12', configuration='default'} of type org.gradle.api.internal.artifacts.dependencie
    s.DefaultExternalModuleDependency.

build.gradle315行:
String substitution = projectSubstitutions.get("${dep.group}:${dep.name}:${dep.version}")

1个回答

devmiao
devmiao   Ds   Rxr 2017.09.16 23:56
Csdn user default icon
上传中...
上传图片
插入图片