OutOfMemoryError异常OOM排查

时间:2024-07-16 08:41:54
Spring boot使用ProGuard实现代码混淆

进步46: 为啥我混淆的就有问题呢一共就四个文件,配置完不是clean install package吗 ,我光package的时候 ,正常的包能起来,混淆后的包就是没主类,我install在package的时候提示 [proguard] Warning: class [BOOT-INF/classes/org/cloudladder/cloudladderauth/CloudladderAuthApplication.class] unexpectedly contains class [org.cloudladder.cloudladderauth.CloudladderAuthApplication] [proguard] Warning: class [BOOT-INF/classes/org/cloudladder/cloudladderauth/hardware/a/a.class] unexpectedly contains class [org.cloudladder.cloudladderauth.hardware.a.a] [proguard] Warning: class [BOOT-INF/classes/org/cloudladder/cloudladderauth/hardware/info/HardwareInfo.class] unexpectedly contains class [org.cloudladder.cloudladderauth.hardware.info.HardwareInfo] [proguard] Warning: class [BOOT-INF/classes/org/cloudladder/cloudladderauth/hardware/util/HardwareInfoUtil.class] unexpectedly contains class [org.cloudladder.cloudladderauth.hardware.util.HardwareInfoUtil] [proguard] Warning: there were 4 classes in incorrectly named files. 启动为混淆的jar的时候就报没主类了,这俩都起不来混淆后的jar包