编译hive时遇到 failed to create task or type osfamily问题
2013-04-27 21:17
656 查看
一、前言
在用ANT编译hive源码时遇到这个问题二、解决办法
打开build-common.xml文件在<osfamily property="os.family"/> 前面添加一行
<taskdef name="osfamily" classname="net.sf.antcontrib.platform.OsFamily" />
同时下载ant-contrib-0.3.jar 并放在$ANT_HOME/lib目录下。
重新编译,问题解决
三、总结
osfamily是每三方的ant task,其是在ant-contrib.jar的net.sf.antcontrib.platform.OsFamily中定义 的。关于osfamily请参考
http://dev.cs.uni-magdeburg.de/java/ant-contrib-1.0b3/api/net/sf/antcontrib/platform/OsFamily.html
相关文章推荐
- sencha touch编译报错:“bfailed to create task or type x-compass-compile Cause: The name is undefined”
- Ant Problem: failed to create task or type foreach 问题
- svnant的BUILD FAILED Problem: failed to create task or type svnSetting Cause: The name is undefined原因
- (记录学习android遇到的问题)Error:Execution failed for task ':app:packageDebug'. > Failed to create
- ArcGIS Engine中初始化许可常见问题归纳,the application is not licensed to create or modify schema for this type of data
- Anaconda3安装遇到的问题fail to failed to create anaconda menus
- Eclipse遇到问题--failed to create the java virtual machine
- android studio 提交项目到github遇到“Failed to create GitHub Repository“问题
- dell装机bios问题 os install mode enable failed to detect one or more drives during post
- 今天遇到一个问题,很纠结include(authenticate.php): failed to open stream: No such file or directory
- sdk升级遇到的问题SDK Installation: A folder failed to be renamed or moved
- 装ghost遇到的问题之一“Windows failed to start. A Recent hardware or software change might be the cause.”
- Windows编译Nodejs时遇到 File "configure", line 313 SyntaxError: invalid syntax Failed to create vc project files. 时的解决方法
- hive 终端产生的问题 (Failed to start database 'metastore_db', see the next exception for details.)
- A folder failed to be renamed or moved--安装Android SDK的问题
- 路由软件 zebra-0.95a 在linux下面编译出现问题的解决(error: dereferencing pointer to incomplete type)
- 在linux 下编译c程序时“ error:dereferencing pointer to incomplete type”的问题
- eclipse failed to create the java virtual machine 问题图文解析
- Android问题集锦之四十七: Error:Execution failed for task ':app:packageRelease'. > Unable to compute hash of
- 关于GCC编译C语言多文件出现类似dereferencing pointer to incomplete type ‘struct TreeNode’的问题