圣天诺Sentinel LDK 7.8,对打包后项目中的jar文件进行壳加密。
运行后报错,error.log中如下:
2019-04-03 09:18:42 [ main:2 ] - [ ERROR ] main
java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$154(LauncherImpl.java:182)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.VerifyError: StackMapTable error: bad offset
Exception Details:
Location:
DTAtTPNelToesXnl.BB1IANbs1RYot0by(Ljavafx/stage/Stage;Lcom/cxbdapp/cadre/Main;)V @0: aload
Reason:
Invalid stackmap specification.
Current Frame:
bci: @1070
flags: { }
locals: { 'DTAtTPNelToesXnl', 'javafx/stage/Stage', 'com/cxbdapp/cadre/Main' }
stack: { 'java/lang/Exception' }
Bytecode:
0x0000000: 1902 3a00 2abb 0003 59b7 0004 b500 012a
0x0000010: bb00 0559 b700 06b5 0007 2ab4 0001 2bb8
0x0000020: 0217 2ab4 0001 120a 120b 0304 bd00 0c59
0x0000030: 03b2 000d 53b8 021b 572a b400 0112 0f12
0x0000040: 1003 04bd 000c 5903 b200 0d53 b802 1e57
0x0000050: 2ab4 0001 1211 1212 0304 bd0