运行ant脚本进行打包无法创建路径(and the archive is probably corrupt but I could not delete it)解决办法
来源:互联网 发布:淘宝合同范本 编辑:程序博客网 时间:2024/06/05 18:07
在myeclipse运行ant脚本的jar命令对代码进行打包时,如果保存jar的路径没有创建,有时候会报错:
“Problem creating jar: D:\workspace\huinong\work\lib\huinong.jar (系统找不到指定的路径。) (and the archive is probably corrupt but I could not delete it)”,错误截图如下:
脚本配置如下:
这里jar的存错路径配置为:
注意,这时候“D:\workspace\huinong\work\lib”这路径是不存在的。这种情况下,我用同样的项目用同样的配置,但是用不同版本的myeclipse去测试,结果就有点不一样。如果是在myeclipse6.5的环境下跑,则会报以上的错误,而用myelicpse10去跑,则会自动创建这样的一个路径,不会报这样的错。难道这是跟myelicpse版本有关系???
如果在myeclipse6.5下要解决这样的错误,只要在打包之前增加一个命令创建这样的路径即可,像这样:
好了,这样在myeclipse6.5和myeclipse10都能跑了。
0 0
- 运行ant脚本进行打包无法创建路径(and the archive is probably corrupt but I could not delete it)解决办法
- Call can throw, but it is not marked with 'try' and the error is not handled
- 安装weblogic 时出错:could not extract the archive since it is corrupted
- linux无法启动mySQL解决办法,MySQL is running but PID file could not be found
- "cabal: ar is required but it could not be found"
- 引用DLL打包出错”But the dll is not allowed to be included or could not be found.“
- Swift:Call can throw, but it is not marked with 'try' and the error is not handled
- Swift Call can throw, but it is not marked with 'try' and the error is not handled
- FNPLicensingService.exe : What is it and can I delete it?
- android SDK Tools跟新后不能用ant进行打包问题,Could not load definitions from resource anttasks.properties. It co
- 关于Error contacting service. It is probably not running错误的解决办法
- Zookeeper学习(十二):Zookeeper启动异常-无法启动的分析(It is probably not running)
- delphi 7无法运行提示 Borland license information was found, but it is not valid for Delphi
- Delphi出现“borland license information was found,but it is not valid for delphi”的错误,无法运行的解决方法
- The package NAME needs to be reinstalled, but I can’t find an archive for it
- The package needs to be reinstalled, but I can't find an archive for it.
- The package needs to be reinstalled,but I can't find an archive for it
- swift编码出现Call can throw, but it is not marked with 'try' and the error is not handled错误的解决
- 提交应用到Appstore遇到的问题集锦
- Web Components 是个什么样的东西
- npm
- 《JAVA与模式》之简单工厂模式
- Notepad++使用技巧——同时编辑(对比)两个文档
- 运行ant脚本进行打包无法创建路径(and the archive is probably corrupt but I could not delete it)解决办法
- 二层交换机、三层交换机和路由器的原理及区别
- [LeetCode]8. String to Integer (atoi)
- MAC头、IP头、TCP头、UDP头详解以及定义
- 修改图片颜色
- 沸点百度文库下载器v2.3.3.2绿色版
- Java华丽转身 —— J2EE规范(一) JNDI Java Naming and Directory Interface
- Webpack
- 推荐系统杂谈