ant打包遇到的问题
2024-09-06 01:02:42
\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
最新文章
- NOIP2012 普及组 T3 摆花——S.B.S.
- 2017 年值得一瞥的 JavaScript 相关技术趋势
- 使用drozer连接时提示:Could not find java. Please ensure that it is installed and on your path
- spring源码学习之路---IOC容器初始化要义之bean定义载入(五)
- ntpdate公司测试
- Agile.Net 组件式开发平台 - 脚本管理组件
- tomcat安全设置
- Computational Methods in Bayesian Analysis
- UML[1] UML类图关系(泛化 、继承、实现、依赖、关联、聚合、组合)(转)
- c#生成word文档
- UVa 10986 - Sending email
- Linux学习笔记整理
- Laya for H5 之Bug追踪
- 如何配置JDK?
- window.open()的所有参数列表
- Perl 变量:标量变量
- DataSet、DataTable、DataRow的数据复制方法
- python学习之find()
- 如何在SAP CRM WebClient UI里创建HANA Live Report
- Delphi方法
热门文章
- RabbitMQ ——消息属性Properties
- Python元类之由浅入深
- go语言从例子开始之Example38.排序
- lik模糊e查询语句,索引使用效果详解
- 第01章 Spring概述
- ubuntu chm文档阅读器
- Oracle 行转列(pivot、wm_concat、decode)使用总结
- 解决 linux 下安装 node 报: command not found
- 【leetcode】719. Find K-th Smallest Pair Distance
- Navicat Premium 12 如何连接阿里云虚拟主机SQL Server 数据库