用sun的deploytools发布ejb提示成功,但运行时却出现错误,请帮忙
http://www.javaresearch.org/article/showarticle.jsp?column=2&thread=1406&start=0&msRange=15
我是参照这篇文章进行配置的,配置应该不会出错,发布也正常,但运行时却出现错误!
java.lang.ClassCastException
at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Unkno
wn Source)
at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
at Client.main(Client.java:9)
我看该文后面读者的贴子里有一个人出现的错误与我相同,但作者没有给出解决方法。我弄了半天也没弄明白,请大家帮忙,谢谢!