Ignoring unused library classes...java.io.IOException: You have to specify '-keep' options for the s

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

Ignoring unused library classes…java.io.IOException: You have to specify ‘-keep’ options for the shrinking step.

 [proguard] Ignoring unused library classes...java.io.IOException: You have to specify ‘-keep‘ options for the shrinking step.
 [proguard]   Original number of library classes: 19765
 [proguard]   Final number of library classes:    19765
 [proguard] Setting target versions...
 [proguard]
 [proguard]     at proguard.SeedPrinter.write(SeedPrinter.java:60)
 [proguard]     at proguard.ProGuard.printSeeds(ProGuard.java:265)
 [proguard]     at proguard.ProGuard.execute(ProGuard.java:108)
 [proguard] Printing kept classes, fields, and methods...   at proguard.ProGuard.main(ProGuard.java:538)
 [proguard] 

忽略未使用的库类……java.io.IOException: 您必须指定 ‘-保持 ’ 选项缩小范围。

似乎ProGuard的设计原则中, ‘-keep’ 选项是必须使用的,如果你希望对所有的类都进行混淆的话,那就设置一个根本不存在的过虑器吧,例如:

-keep public class com.abcd.* {
    public protected *;
}

Ignoring unused library classes...java.io.IOException: You have to specify '-keep' options for the s

时间: 2024-08-11 09:13:18

Ignoring unused library classes...java.io.IOException: You have to specify '-keep' options for the s的相关文章

java.io.IOException: You have to specify '-keep' options for the shrinking step.

执行Maven Install打包的时候,出现以下错误信息: [proguard] java.io.IOException: You have to specify '-keep' options for the shrinking step. [proguard] at proguard.SeedPrinter.write(SeedPrinter.java:60) [proguard] at proguard.ProGuard.printSeeds(ProGuard.java:265) [pr

hadoop错误Ignoring exception during close for [email protected] java.io.IOException Spill failed

1.错误    Ignoring exception during close for [email protected] java.io.IOException: Spill failed2.原因     本地磁盘空间不足非hdfs (我是在myeclipse中调试程序,本地tmp目录占满)3.解决     清理.增加空间 如果,您认为阅读这篇博客让您有些收获,不妨点击一下右下角的[推荐]. 如果,您希望更容易地发现我的新博客,不妨点击一下左下角的[关注我]. 如果,您对我的博客所讲述的内容有

java.io.IOException: The input doesn't contain any classes. Did you specify the proper '-injars' opt

问题场景 在使用Maven + Proguard打包项目进行混淆时,提示以下错误: [proguard] ProGuard, version 4.4 [proguard] Reading input... [proguard] java.io.IOException: The input doesn't contain any classes. Did you specify the proper '-injars' options? [proguard] at proguard.InputRe

windows 中使用hbase 异常:java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

平时一般是在windows环境下进行开发,在windows 环境下操作hbase可能会出现异常(java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.),以前也遇到过这个问题,今天又有小伙伴遇到这个问题,就顺带记一笔,异常信息如下: 2016-05-23 17:02:13,551 WARN [org.apache.hadoop.util.NativeCodeLoa

Spakr- ERROR Shell: Failed to locate the winutils binary in the hadoop binary path java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

运行 mport org.apache.log4j.{Level, Logger} import org.apache.spark.rdd.RDD import org.apache.spark.{SparkConf, SparkContext} /** * Created by Lee_Rz on 2017/8/30. */ object SparkDemo { def main(args: Array[String]) { Logger.getLogger("org.apache.spark

HBase中此类异常解决记录org.apache.hadoop.ipc.RemoteException(java.io.IOException):

ERROR: Can't get master address from ZooKeeper; znode data == null   一定注意这只是问题的第一层表象,真的问题是: File /hbase/.tmp/hbase.version could only be replicated to 0 nodes instead of minReplica 网上很多都是叫用两种方式解决 stop/start  重启hbase 格式化 hdfs namenode -format,不能随随便便就格

spark开发常见问题之一:java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

最近在学习研究pyspark机器学习算法,执行代码出现以下异常: 19/06/29 10:08:26 ERROR Shell: Failed to locate the winutils binary in the hadoop binary pathjava.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.at org.apache.hadoop.util.Shel

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

java.io.IOException: Can't read [[email protected]] (Can't process class [WEB-INF/clas

执行Maven Install打包的时候,出现以下错误信息: [proguard] ProGuard, version 4.4 [proguard] Reading input... [proguard] Reading program war [F:\Workspaces\pro-test\target\pro-test-0.0.1-SNAPSHOT.war] (filtered) [proguard] java.io.IOException: Can't read [[email prote