As for the compiler error, did you get a chance to look at this? Problems with the installation of openmrs openmrs-api