免费注册 查看新帖 |

Chinaunix

广告
  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3047 | 回复: 1
打印 上一主题 下一主题

Maven-ant-task用不起来? [复制链接]

论坛徽章:
160
酉鸡
日期:2013-10-08 17:08:46丑牛
日期:2013-11-15 14:57:11双鱼座
日期:2014-02-14 01:12:01狮子座
日期:2014-03-27 10:36:09子鼠
日期:2014-05-22 13:34:36戌狗
日期:2014-07-29 14:29:35酉鸡
日期:2014-08-12 08:52:06水瓶座
日期:2014-08-12 12:18:45午马
日期:2014-10-30 22:49:57金牛座
日期:2014-11-19 09:52:57天蝎座
日期:2014-11-20 11:16:17射手座
日期:2014-11-27 17:52:22
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-17 20:54 |只看该作者 |倒序浏览
eclipse 3.4.2

Problem: failed to create task or type antlibrg.apache.maven.artifact.ant:pom
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.

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
        -F:\eclipse-jee-ganymede-SR2-win32\eclipse\plugins\org.apache.ant_1.7.0.v200803061910\lib
        -C:\Documents and Settings\user022\.ant\lib
        -a directory added on the command line with the -lib argument

我已经放了一个 Maven-ant-task 在F:\eclipse-jee-ganymede-SR2-win32\eclipse\plugins\org.apache.ant_1.7.0.v200803061910\lib目录下,为什么还是找不到呢?

论坛徽章:
160
酉鸡
日期:2013-10-08 17:08:46丑牛
日期:2013-11-15 14:57:11双鱼座
日期:2014-02-14 01:12:01狮子座
日期:2014-03-27 10:36:09子鼠
日期:2014-05-22 13:34:36戌狗
日期:2014-07-29 14:29:35酉鸡
日期:2014-08-12 08:52:06水瓶座
日期:2014-08-12 12:18:45午马
日期:2014-10-30 22:49:57金牛座
日期:2014-11-19 09:52:57天蝎座
日期:2014-11-20 11:16:17射手座
日期:2014-11-27 17:52:22
2 [报告]
发表于 2009-04-17 22:07 |只看该作者
原来在EDIT Configration显式加入这个JAR包就可以了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP