IBM Websphere: Getting error for Spring AOP

人盡茶涼 提交于 2019-12-19 02:04:07

问题


I am getting following error while booting up the server. Application has Spring as well as AspectJ classes in it.

Caused by: java.lang.VerifyError: JVMVRFY013 class loading constraint violated; class=org/springframework/aop/aspectj/MethodInvocationProceedingJoinPoint, method=getSourceLocation()Lorg/aspectj/lang/reflect/SourceLocation;, pc=0
                at java.lang.J9VMInternals.verifyImpl(Native Method)
                at java.lang.J9VMInternals.verify(J9VMInternals.java:93)
                at java.lang.J9VMInternals.initialize(J9VMInternals.java:170)
                at org.springframework.aop.aspectj.AbstractAspectJAdvice.currentJoinPoint(AbstractAspectJAdvice.java:83)

As a first pass I gave PARENT_FIRST option for Enterprise Application


回答1:


Well, I'll write it here again as my first reply was deleted without any explanation though it was the correct one.

Given the exception you encounter you're likely at WAS 8.5.5.0. There's a known issue documented under APAR PM90932 about this. An ifix has been publisehd for this issue and you can read about it and download it from here. Once the ifix is installed, the issue won't appear again.



来源:https://stackoverflow.com/questions/17599064/ibm-websphere-getting-error-for-spring-aop

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!