GGTS can't run Groovy Shell

1k views Asked by At

I'm using the Groovy Grails Tool Suite to practice Groovy. I want to run a Groovy Shell, but when I create a new shell and try to run it, I get this error:

Could not find $jarName on the class path.  Please add it manually

What does this mean, and how do I resolve this?

2

There are 2 answers

0
adrianmcmenamin On

I had a similar problem with this exact same message, but the reason was that I was attempting to run the script without specifying which script to run. Ensure you have the script open in the editing window and trying running it again - that got rid of the message for me.

0
Keegan On

I believe this is happening because JLine can't be found on your classpath. I submitted a PR to make the error message in this case actually useful.