知识点
相关文章
更多最近更新
更多Hadoop-lzop-mater安装执行 ant compile-native tar 报错
2019-03-28 13:12|来源: 网络
执行 ant compile-native tar 报错
错误: error getting http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0 jar to.....
因无法连接到外网,所以无法从build.xml里指定的url下载所需包
在内网搭建服务器,将报错提示的软件包放入服务器目录中,并修改build.xml中ivy_repo_url。
ivysetting.xml中<property name="repo.maven.org"value="http://repo1.maven.org/maven2/",
value值也需修改成自定义服务器
重新执行 ant compile-native tar
报错:commons-logging#commons-logging;1.0.4: configuration not found in commons-logging#commons-logging;1.0.4:
'master'. It was required from com.Hadoop.gplcompression#Hadoop-GPL-Compression;0.4.15 commons-logging
修改ivy.xml中conf="commons-logging->master"/>将master改成default
重新执行 ant compile-native tar成功
相关问答
更多-
linux下 mysql tar 安装不了[2022-05-24]
用源码安装是比较花时间,mysql安装的时候屏幕上都会有输出,如果没有报错,你可以试下多等一下 -
通过ant编译jdk(compile jdk via ant)[2022-04-22]
构建JDK本身是一个复杂的过程,无法通过包含在ant项目中的简单javac调用来实现。 您应该查看OpenJDK Build README以获取有关如何为您的平台构建的说明。 Building the JDK itself is a complex process and is not achievable by a simple javac call wrapped inside an ant project. You should look at the OpenJDK Build README to ... -
问题出在Compile macrodef中。 它试图引用名为srcdir的属性,但它使用${}语法写为标准属性引用,而不是使用@{}的属性语法。 所以在第46行尝试改变这一点:
难以使用Ant构建Pig(Difficulty building Pig using Ant)[2022-11-13]
我有同样的问题。 我在cygwin家中通过cygwin编译猪来解决它。 我的常春藤设置是这样的: