开发者

java.lang.VerifyError during ejb method call

开发者 https://www.devze.com 2022-12-31 07:03 出处:网络
When I try to call a method from a local e开发者_如何学编程jb I have this error : java.lang.VerifyError: com/pwc/lu/ejb/hcfollowup/staff/HCFStaffManagerLocal.getPersonById(Ljava/lang/Integer;)Lcom/p

When I try to call a method from a local e开发者_如何学编程jb I have this error :

java.lang.VerifyError: com/pwc/lu/ejb/hcfollowup/staff/HCFStaffManagerLocal.getPersonById(Ljava/lang/Integer;)Lcom/pwc/lu/mapping/hcfollowup/hibernate/global/Person;

HCFStaffManagerLocal is my local interface and getPersonById an ejb method. Person, the result type.

I can get my ejb but error occurs when trying to call getPersonById method.

I don't understand why it get an exception for Person class...

Any ideas ?


This question on VerifyError has a lot of good answers - hope one leads to a solution!

There's a chance that the compiled Person class is corrupt and it's worth a try to recompile it with a different java SDK.

0

精彩评论

暂无评论...
验证码 换一张
取 消