version:
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
BUILD FAILED
/data/server/build.xml:34: Problem: failed to create task or type propertyregex
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
解决方案就是下载一个 ant-contrib.jar 放到ant的lib目录下,然后就O了
本文介绍了解决Ant构建过程中出现的错误方法。当遇到任务或类型属性定义失败时,可以通过下载并安装ant-contrib.jar文件来解决。文章详细描述了错误信息及解决步骤。
2036

被折叠的 条评论
为什么被折叠?



