2015-09-15 158 views
1

我使用Hadoop和配置单元的依赖性开发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 

回答

1

由于黑客可以使用

repositories { 
    mavenCentral() 

    maven { 
     url "http://conjars.org/repo" 
    } 
} 
1

您需要添加所建议的黑客在你的build.gradle文件

repositories { 
    mavenCentral() 

    maven { 
     url "http://conjars.org/repo" 
    } 
}