java.lang.NoClassDefFoundError: groovy/lang/GroovyObject
Download the groovy-all.jar
and add it to the classpath.
With Maven, add this to your dependencies (browse groovy-all on mvnrepository.com):
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.4.5</version>
</dependency>