This happens even with Hello.groovy as long as you run it in powershell.
Error: Could not find or load main class .grape.enable=false
Caused by: java.lang.ClassNotFoundException: /grape/enable=false
The groovy script runner sets an option -Dgroovy.grape.enable=false to disable grape, however powershell treats the = specially.
I don't use other -D= options, but I assume they might cause problems as well.
This error reports as:
This happens even with Hello.groovy as long as you run it in powershell.
Error: Could not find or load main class .grape.enable=false Caused by: java.lang.ClassNotFoundException: /grape/enable=false
The groovy script runner sets an option -Dgroovy.grape.enable=false to disable grape, however powershell treats the = specially. I don't use other -D= options, but I assume they might cause problems as well.
The fix is to put quotes around the option.
Workaround? Use CMD or bash for now.
Great application, thank you!