If above solution doesn't work, then try below. Due to maven-archetype-plugin version 3.2.1, pom file has 2.4.16 version for groovy-all <dependency><groupId>org.codehaus.groovy</groupId><artifactId>groovy-all</artifactId><version>2.4.16</version><scope>compile</scope></dependency> .m2/repository/org...