• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB3 beginner help ClassCastException error and I dont know why  RSS feed

seath brua
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thank you!
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!