\build\build.xml:350: Problem: failed to create task or type foreach
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.

先看 官方配置

<taskdef resource="net/sf/antcontrib/antlib.xml">
<classpath>
// 这里改成 ant-contrib 对应的jar包路径
<pathelement location="/usr/share/java/lib/ant-contrib-version.jar"/>
</classpath>
</taskdef>

看 图文教程

参考
Troubleshooting “failed to create task or type foreach” when using <foreach>
Ant-Contrib Tasks

最新文章

  1. NOIP2012 普及组 T3 摆花——S.B.S.
  2. 2017 年值得一瞥的 JavaScript 相关技术趋势
  3. 使用drozer连接时提示:Could not find java. Please ensure that it is installed and on your path
  4. spring源码学习之路---IOC容器初始化要义之bean定义载入(五)
  5. ntpdate公司测试
  6. Agile.Net 组件式开发平台 - 脚本管理组件
  7. tomcat安全设置
  8. Computational Methods in Bayesian Analysis
  9. UML[1] UML类图关系(泛化 、继承、实现、依赖、关联、聚合、组合)(转)
  10. c#生成word文档
  11. UVa 10986 - Sending email
  12. Linux学习笔记整理
  13. Laya for H5 之Bug追踪
  14. 如何配置JDK?
  15. window.open()的所有参数列表
  16. Perl 变量:标量变量
  17. DataSet、DataTable、DataRow的数据复制方法
  18. python学习之find()
  19. 如何在SAP CRM WebClient UI里创建HANA Live Report
  20. Delphi方法

热门文章

  1. RabbitMQ ——消息属性Properties
  2. Python元类之由浅入深
  3. go语言从例子开始之Example38.排序
  4. lik模糊e查询语句,索引使用效果详解
  5. 第01章 Spring概述
  6. ubuntu chm文档阅读器
  7. Oracle 行转列(pivot、wm_concat、decode)使用总结
  8. 解决 linux 下安装 node 报: command not found
  9. 【leetcode】719. Find K-th Smallest Pair Distance
  10. Navicat Premium 12 如何连接阿里云虚拟主机SQL Server 数据库