我使用hadoop和hive依赖项在gradle中开发了项目,下面是项目的依赖项
org.apache.hive:hive-common:1.2.1'
'org.apache.hive:hive-service:1.2.1'
'org.apache.hive:hive-metastore:1.2.1'
'org.apache.derby:derby:10.11.1.1'
'org.apache.hive:hive-jdbc:1.2.1'但我面临着下面的错误,我无法解决的好事情是,如果我使用maven构建项目,并在maven项目中添加相同的依赖项,它工作正常,您能让我知道与gradle错误相关的问题吗:
Could not resolve all dependencies for configuration ':compile'.
> Could not find org.pentaho:pentaho-aggdesigner-algorithm:5.1.5-jhyde.
Searched in the following locations:
https://jcenter.bintray.com/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
https://jcenter.bintray.com/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
Required by:
:HiveUnit:unspecified > org.apache.hive:hive-service:1.2.1 > org.apache.hive:hive-exec:1.2.1 > org.apache.calcite:calcite-core:1.2.0-incubating发布于 2016-11-09 23:48:31
您需要在build.gradle文件中添加建议的hack
repositories {
mavenCentral()
maven {
url "http://conjars.org/repo"
}
}发布于 2015-12-30 01:13:46
因为可以使用hack
repositories {
mavenCentral()
maven {
url "http://conjars.org/repo"
}
}https://stackoverflow.com/questions/32587769
复制相似问题