此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
楼主【hitman241_0】截止到2008-06-24 17:40:05的历史汇总数据(不包括此帖):
发帖数:2                  发帖分:50                 
结贴数:2                  结贴分:50                 
未结数:0                  未结分:0                  
结贴率:100.00%            结分率:100.00%            
敬礼!

解决方案 »

  1.   

    Warning: The return type for a create(...) method must be the entity bean's remote interface type. 定义的接口是userDB吗?
      

  2.   

    The return type for a create(...) method must be the entity bean's remote interface type
    返回值必须是实体bean的远程接口类型
    检查userDB 是不是定义了远程接口
      

  3.   

    另一个错误可能是public abstract userRE create() throws RemoteException, CreateException 
    红色部分少了一些异常,加上应该就好了
      

  4.   

    RemoteException, CreateException这两个异常都应该在public abstract userRE create()中抛出,检查一下看看,是不是这两个异常都抛出了
      

  5.   

    抛出了
    public interface userhome
        extends EJBHome
    {    public abstract userRE create()
            throws RemoteException, CreateException;
    }