fixing joint build groovy-grails build and adapting error message to changed ClassNode#toString