Tuesday, October 25, 2011

javax.ejb.EJBException: Could not unmarshal method ID


Share at Facebook

If you are seeing the following error from your EJB then the solution is really simple.

javax.ejb.EJBException: Could not unmarshal method ID; nested exception is:
java.rmi.UnmarshalException: Method not found: 'YOUR_METHOD';


This is because you have written some code but didn't compile or redeployed to your server after compile. So, build/compile your project again and deploy to your server. You'll not see this error again. :-)




2 comments:

get a facebook fan page said...

can you describe this with update post ?
i would be thankfull to you.

Anonymous said...

Unfortunately it's not always that simple. But if I find a solution to my issue I will post back here with it.