码迷,mamicode.com
首页 > 编程语言 > 详细

java.io.IOException: The output jar is empty. Did you specify the proper '-keep' options?

时间:2015-05-11 13:04:22      阅读:466      评论:0      收藏:0      [点我收藏+]

标签:install   maven   信息   jar   打包   

执行Maven Install打包的时候,出现以下错误信息:

 [proguard] java.io.IOException: The output jar is empty. Did you specify the proper ‘-keep‘ options?
 [proguard]     at proguard.shrink.Shrinker.execute(Shrinker.java:171)
 [proguard]     at proguard.ProGuard.shrink(ProGuard.java:297)
 [proguard]     at proguard.ProGuard.execute(ProGuard.java:113)
 [proguard]     at proguard.ProGuard.main(ProGuard.java:538)

这是因为’-keep’选项使用的不正确,把所有的类都过虑掉了。

java.io.IOException: The output jar is empty. Did you specify the proper '-keep' options?

标签:install   maven   信息   jar   打包   

原文地址:http://blog.csdn.net/testcs_dn/article/details/45642109

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!