Ignoring unused library classes...java.io.IOException: You have to specify '-keep' options for the s
2015-05-12 16:34
549 查看
执行Maven Install打包的时候,出现以下错误信息:
Ignoring unused library classes…java.io.IOException: You have to specify ‘-keep’ options for the shrinking step.
忽略未使用的库类……java.io.IOException: 您必须指定 ‘-保持 ’ 选项缩小范围。
似乎ProGuard的设计原则中, ‘-keep’ 选项是必须使用的,如果你希望对所有的类都进行混淆的话,那就设置一个根本不存在的过虑器吧,例如:
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 *; }
相关文章推荐
- java.io.IOException: You have to specify '-keep' options for the shrinking step.
- java.io.IOException: The output jar is empty. Did you specify the proper '-keep' options?
- 解决The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it (http://ruijunsu)
- MAVEN Error:HV000183: Unable to load 'javax.el.ExpressionFactory'. Check that you have the EL depend
- Font '??' is not available to the JVM. See the Javadoc for more details.
- 解决 The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working
- 解决 java.io.IOException: The output jar is empty. Did you specify the proper '-keep' options?
- HV000183: Unable to load 'javax.el.ExpressionFactory'. Check that you have the EL dependencies on th
- 解决 The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working
- java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for
- Java查看注册表错误:ERROR You have not installed the DLL named 'ICE_JNIRegistry.DLL'
- MySQL报错“ you can't specify the target table for ‘update’ in from clause”
- 解决#1289 - The \'InnoDB\' feature is disabled; you need MySQL built with \'InnoDB\' to have it working的问题
- Font '宋体' is not available to the JVM. See the Javadoc for more details.
- 解决The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working
- The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working
- How naive it's to believe node.js good for IO but bad for Computation?
- Libgdx Caused by: java.io.IOException: couldn't load pixmap 8bit only 问题
- Error: The output jar is empty. Did you specify the proper '-keep' options?
- No configuration found for the specified action: '/sum' in namespace: ''.Form action defaulting to '