Java.lang.VerifyError: JVMVRFY012 is not compatible with the stack form;

I get the following error when deploying a Maven project in WAS 8.5.5.

I installed JDK 1.6 and 1.7 in WAS.

Error 500: org.springframework.web.util.NestedServletException: handler processing failed; nested exception: java.lang.VerifyError: JVMVRFY012 is not compatible with the stack form; class = com / xyz / simtools / saving / jaxb / SavingsInput_JAXB_Deserialization_Stub, method = write (ILjava / lang / Object;) V, pc = 356

What I noticed:

  • In Tomcat, it works fine
  • There was some fix in IBM JDK according to this , but it still does not work for me

Things I tried:

  • Tried both versions of JDK in WAS.
  • Read this link in the IBM Forum
  • Compiled my project in 1.5 and 1.7 and tried to deploy

- ? , ?

+4
2

, .

() :. API. , ( , ), IDE SAAJ 1.4 IBM JDK -.

IBM\jdk\jre\lib\rt.jar/com\sun\xml\internal\messaging\saaj\soap\SOAPDocumentImpl.class

, Tomee (Tomcat) 1.7.3, :

$TOMEE_HOME\lib\saaj-impl-1.3.18.jar/com\sun\xml\internal\messaging\saaj\soap\SOAPDocumentImpl.class

-:

  • java.lang.VerifyError: JVMVRFY012;
  • ( ): java.lang.VerifyError: JVMVRFY012 formato de pilha ;

. saaj-impl-1.3.18.jar Tomee lib ( ). Tomee/Tomcat IBM JDK, IDE, , , saaj-impl-1.3.18.jar Tomee lib. , Tomee , (IBM JDK).

, , / (). - , , .

+4

, , .

. - "jaxb". "jaxb" ivy.xml... jaxb, JDK, . "jaxb" ... - Dependency jaxb, "VerifyError" jaxb.

: "jaxb" , jaxb, Maven.

+1

Source: https://habr.com/ru/post/1609287/


All Articles