Trying to migrate EJB project from 2.0 to 3.0, but got the above errors as EJB Project is referring to ejb2.0 version even Using annotations instead ejb-jar.xml in beans.
Other Details: Server - WebSphere8.5.5 traditional server Java - 1.8 Version
Meta-Inf of ejb module EJB Project Meta-INF contains
Project Facets of EJB project: EJB module version is 2.x, unable to change to 3.0 Ejb Module version in project facet is 2.0, but not allowing to change to 3.0.
Deleted ejb-jar.xml, and updated ibm bindings. Added annotations to beans as required.
But got configurations errors. Unable to change version of ejb to 3.0.
I'm getting two ejb validation errors:
- CHKJ2017E: This class must implement javax.ejb.SessionBean (EJB 2.0: 7.5.1, 7.10.2). ejb.jar /roject Class: com.xxxx.xxxxx.arch.app.internal.ServiceProviderBean EJB Validator Message
2)CHKJ2017E: This interface must extend javax.ejb.EJBObject (EJB 2.0: 6.5, 7.10.5). eb.jar /Project Class: com.xxxx.xxxxx.arch.app.internal.ServiceProvider EJB Validator Message