Please remove KcServiceLocator.getService(ProposalRoleTemplateService.class); from this class