[jboss-user] [EJB 3.0] - Re: Unit test EJB3 Exception
mvpc
do-not-reply at jboss.com
Wed Mar 25 13:19:25 EDT 2009
Hummm I changed the code to:
MyLocal local = (MyLocal)ctx.lookup("MyBean/local");
But I am now getting the exception:
java.lang.ClassCastException: javax.naming.Reference cannot be cast to br.com.original.negocio.email.interfaces.IEmailLocal
Thanks!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221008#4221008
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221008
More information about the jboss-user
mailing list