for me in liferay 7.4 ga 125 your ADT code not works. What i.m missing? maybe needs serviceLocator permissions?