EJB3 beginner help ClassCastException error and I dont know why
posted 9 years ago
First of all I would like to thank any of you in advance for help.
I have recently been trying to learn web services and EJB3 and so I installed JDeveloper and started with their wizards. After using their wizards to create the entites_from_tables I created a Session Bean based on EJB3 and finally a sample client (all from the wizards). When I run the session client and access it either from the web using Oc4J or from the test client I recieve the following error when invoking any simple query: SEVERE: Caught exception while handling request: java.lang.ClassCastException: EmployeeSession_RemoteProxy_58b0fko java.lang.ClassCastException: EmployeeSession_RemoteProxy_58b0fko
I have looked everywhere for an answer to this so if anyone could help it would again be greatly appreciated.