I am quite new to groovy and getting following error when running the below method.
def hi() { println("Hello World!") } hi() def runHi() {