Java7 ClassFormatError: Illegal local variable table length while creating the object

后端 未结 2 1721
孤独总比滥情好
孤独总比滥情好 2020-12-11 03:55

I am getting this strange error while executing the following code.

EncoderRequest encoderRequest = new EncoderRequest(sid,appTxnId,pfid,transactionType,\"\"         


        
相关标签:
2条回答
  • 2020-12-11 03:59

    You can also do this config : Add -noverify in your jvg args

    For ant config you can do : <jvmarg value="-noverify"/>

    You can follow the link for more details on why we need to do this.

    0 讨论(0)
  • 2020-12-11 04:23

    There have been previous reports of the same error, on Junit tests and similar..

    For them, adding the JVM arg -XX:-UseSplitVerifier seemed to work

    Have a look at this article

    0 讨论(0)
提交回复
热议问题