没有这样参数的(java.lang.String,java.lang.String,java.lang.String,double) 
ejbCreate方法

解决方案 »

  1.   

    是你的local home中create方法和bean中的ejbCreate不匹配!!我做的例子
    ProductLocal create(String productID,String name,String description,double basePrice) throws CreateException;
    public ProductPK ejbCreate(String productID,String name,String description,double basePrice) throws CreateException{
    System.out.println("ejbCreate() called");
    setProductID(productID);
    setName(name);
    setDescription(description);
    setBasePrice(basePrice);
    return new ProductPK(productID);
    }
      

  2.   

    看看你的参数是否规范,重载ebjCreate就要遵循父类的定义。