java.lang.VerifyError during ejb method call
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.
精彩评论