I got following exception as I tried to test my Bean. java.lang.ClassCastException at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:296) at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137) at management.test.main(test.java:24)
Can someone help, what this exception means or how to solve this problem?
I made a EJB and deployed it. The bean has home, remote and implementation classes and two object classes like userobjects (e.g. class user, String username, user.username).