Reputation: 494
Getting below error while deploying application in liberty server. It seems drools compatibility issues with java 1.8.I cannot change my drools / mvel jar version since it requires significant change in drools. In one of the forum , i have read to use updated ecj version jar So I have updated ecj jar to 4.5.1 version but even though getting the error .This solution works in tomcat and WAS Server without any issues with java 1.8 migration
Caused by: java.lang.VerifyError: (class: ASMAccessorImpl_7258891721511957152780, method: getKnownEgressType signature: ()Ljava/lang/Class;) Illegal type in constant pool.
Can anyone please let us know what need to do for solving the above error
Upvotes: 0
Views: 566
Reputation: 42966
Normally I've seen this problem occur when using .class files compiled with one JDK and running with another (e.g. compiled w/ IBM JDK 7 and running with Oracle JDK 8).
To work around the VerifyError you can add -noverify
to your JVM_ARGS (via jvm.options).
For more detailed analysis it would be helpful to know:
Upvotes: 1