Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
failed to create task or type if
解决方法:
一、到[url]http://sourceforge.net/projects/ant-contrib/files/ant-contrib/[/url]下载nt-contrib-0.6.jar,
二、在window --> preferences --> Ant --> Runtime --> Classpath中选择Global Entries,然后添加ant-contrib-0.6.jar文件即可,以便eclipse在运行ant任务时会加载ant-contrib-0.6.jar,这样就可以解决上述问题现象,其实这里也可以将ant-contrib-0.6.jar文件放在Ant Home Entries,但这样有可能造成与Ant本身包的混淆.
failed to create task or type if
解决方法:
一、到[url]http://sourceforge.net/projects/ant-contrib/files/ant-contrib/[/url]下载nt-contrib-0.6.jar,
二、在window --> preferences --> Ant --> Runtime --> Classpath中选择Global Entries,然后添加ant-contrib-0.6.jar文件即可,以便eclipse在运行ant任务时会加载ant-contrib-0.6.jar,这样就可以解决上述问题现象,其实这里也可以将ant-contrib-0.6.jar文件放在Ant Home Entries,但这样有可能造成与Ant本身包的混淆.
本文详细介绍了在Eclipse中遇到无法加载ant-contrib jar的问题解决方案,包括下载jar文件、配置Classpath等步骤,确保ant任务正常执行。
1351

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



