We're encountering the ClassCastException while trying to access a bean from a Servlet client. The error pertains to
Impl_Stub. Please advice a solution?
Please supply the piece of code for better understanding .
I also encountered the same problem.I was getting this problem when i eas running my servlet on jsdk webserver and my beans on weblogic.My beans were under some package and interfaces i provided to my servlet were without any package.thats why it gives me this exception when i tried to get home reference of bean from servlet.what i did to overcome this problem , i removed package in which my bean was.
mostly there is package problem in this type of error.
Maybe you are using the same bean name or the scope parameter in the jsp is not set to page.