moved Groovy version check into abstract class
corrected some error messages