This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 再问个EJB的问题调试程序出错
Bean class for ejb [BookBean] does not define a method corresponding to [LocalHome] interface method [public abstract samples.ejb.cmp.cmpcustomer.ejb.customer.LocalBook samples.ejb.cmp.cmpcustomer.ejb.customer.LocalBookHome.create(java.lang.String,java.lang.String,java.lang.String,int) throws javax.ejb.CreateException]|#]
我检查了BookBean 和 LocalBookHome里面的ejbCreate 和 creat方法,参数和申明的异常都是一致的。
请问出出找个错还有什么可能吗?
-fatbean(洗心革面 第一千次);
2004-1-29
{464}
(#1581753@0)
-
I do not think in home interface you can have ejbcreate().
-badegg(badegg);
2004-1-29
(#1582099@0)
-
Sorry about confusion in my post.I meant I checked the ejbCreate() in BookBean and create() in LocalBookHome, and found return type and parameters all are conform,nothing seems wrong.Thanks for your reply
-fatbean(洗心革面 第一千次);
2004-1-29
{21}
(#1582107@0)