fix(wildfly): fix compilation error occured through pr

related to #CAM-1544