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

执行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?

时间: 2024-08-30 07:28:34

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

java.io.IOException: Can't read [\jre\lib\rt.jar]

[proguard] java.io.IOException: Can't read [F:\e\java\jdk1.8.0_101\jre\lib\rt.jar] (Can't process class [com/oracle/net/Sdp$1.class] (Unsupported version number [52.0] for class format)) 不要只看前半段,关键信息是 Unsupported version number [52.0] 降低jdk版本到1.7 也许1

java.io.IOException: The same input jar is specified twice

简介: eclipse android proguard 打包时出现 java.io.IOException: The same input jar is specified twice 错误, 这里给出解决办法 升级到高版本的 android sdk 之后发现 proguard 打包app 时出现The same input jar ***.jar is specified twice 的错误,导致混淆失败无法打包出新版本, 百度google 都不能解决 愁死了. 通过一天的折腾人都要崩溃了,

java.io.IOException: The same input jar [E:\Jre\lib\rt.jar] is specified twice.

执行Maven Install打包的时候,出现以下错误信息: [INFO] proguard jar: E:\maven\mvnRespo\net\sf\proguard\proguard-base\5.2\proguard-base-5.2.jar [proguard] ProGuard, version 5.2 [proguard] java.io.IOException: The same input jar [E:\Jre\lib\rt.jar] is specified twice.

Oozie java.io.IOException: output.properties data exceeds its limit [2048]

在使用oozie调用sqoop时,报了下边这个错 Launcher AM execution failed java.io.IOException: output.properties data exceeds its limit [2048] at org.apache.oozie.action.hadoop.LocalFsOperations.getLocalFileContentAsString(LocalFsOperations.java:86) at org.apache.oozie.

sqoop1.4.5 导入 hive IOException running import job: java.io.IOException: Hive exited with status 1

sqoop 导入 hive hive.HiveImport: Exception in thread "main" java.lang.NoSuchMethodError: org.apache.thrift.EncodingUtils.setBit(BIZ)B ERROR tool.ImportTool: Encountered IOException running import job: java.io.IOException: Hive exited with status 1

spark程序异常:Exception in thread "main" java.io.IOException: No FileSystem for scheme: hdfs

命令: java -jar myspark-1.0-SNAPSHOT.jar myspark-1.0-SNAPSHOT.jar hdfs://single:9000/input/word.txt hdfs://single:9000/output/out1 错误信息: .......... 14/11/23 06:14:18 INFO SparkDeploySchedulerBackend: Granted executor ID app-20141123061418-0011/0 on hos

hadoop异常 java.io.IOException: Job status not available

[[email protected] conf]$ hadoop jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar wordcount /user/lizeyi/people.txt  /user/lizeyi/wordcount7 15/06/08 18:36:16 INFO client.RMProxy: Connecting to ResourceManager at master.hadoop/10.3.4.35:80

spark运行java-jar:Exception in thread "main" java.io.IOException: No FileSystem for scheme: hdfs

今天碰到的一个 spark问题,困扰好久才解决 首先我的spark集群部署使用的部署包是官方提供的 spark-1.0.2-bin-hadoop2.tgz 部署在hadoop集群上. 在运行java jar包的时候使用命令 java -jar chinahadoop-1.0-SNAPSHOT.jar  chinahadoop-1.0-SNAPSHOT.jar  hdfs://node1:8020/user/ning/data.txt /user/ning/output 出现了如下错误 14/08

java.io.IOException: Type mismatch in key from map:解决方法

执行MR程序的时候发生异常:java.lang.Exception: java.io.IOException: Type mismatch in key from map: expected org.apache.hadoop.io.Text, received org.apache.hadoop.io.LongWritable 日志如下: 2016-05-09 21:33:28,871 INFO [org.apache.hadoop.conf.Configuration.deprecation