Using the latest glassfish 7 or payara 6 servers just changing @Inject to @EJB in the REST resource endpoint classes fixes the problem.