项目启动时报 Expected stackmap frame at this location.(JDK1.8编译 tomcat 7.0.88)

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

项目启动 时报错

环境:JDK1.8编译  tomcat 7.0.88)

Exception Details:
  Location:
    com/loadimpact/ApiTokenClient.isValidToken()Z @0: aload_0
  Reason:
    Expected stackmap frame at this location.
  Bytecode:
    0x0000000: 2ab4 00db 12ac b901 5902 0004 bd01 5f59
    0x0000010: 03b2 0163 53b9 0167 0200 b901 cf01 004c
    0x0000020: 2bb6 017f b901 d301 00b2 01d7 a600 0704
    0x0000030: a700 0403 ac4c 2ab4 00d7 bb01 d959 b701
    0x0000040: da13 01dc b601 e02b b601 e3b6 01e5 b601
    0x0000050: e803 ac                                
  Exception Handler Table:
    bci [0, 52] => handler: 53

 解决方案:

    我是JDK1.8所以在启动JVM参数加:  -noverify   (1.8没有-XX:-UseSplitVerifier 这参数)

    JDK1.7在启动JVM参数加:  -XX:-UseSplitVerifier

转载于:https://my.oschina.net/u/1579617/blog/2907129

你可能感兴趣的:(java,开发工具,python)