Stub classes must be included when using remote Enterprise JavaBeans (EJB) 2.x

A client must include stub classes when you start a remote EJB bean that is hosted on WebSphere Application Server. In some cases, if the client is WebSphere Application Server, the product automatically generates the correct stub classes:

For more information, see Using Enterprise JavaBeans (EJB) with remote interfaces on Liberty.