public static class BeanClass implements javax.ejb.SessionBean { private static final Collection ejbFindByPrimaryKey (String key) throws FinderException{ //..
} //methods that must implement the interface
}
解决方案
将 finder 方法声明为 public 而非 static 或 final
public class BeanClass implements javax.ejb.SessionBean { public Collection ejbFindByPrimaryKey (String key) throws FinderException{ //..
} //methods that must implement the interface
}