3

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?

Keegan
  • 11,345
  • 1
  • 25
  • 38
AnthonyMDev
  • 1,496
  • 1
  • 13
  • 27
  • have you found any solution ? – Anil Bharadia Jun 12 '14 at 13:03
  • There are so many things that could cause this error. I ended up fixing it in that instance, but I don't remember exactly what I did that time around. This usually means that something is not configured correctly for your class path in your IDE. If you are having this error, go ahead and create a new question and comment the link to it here, and I'll try to help out. – AnthonyMDev Jun 16 '14 at 18:05

2 Answers2

0

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.

Keegan
  • 11,345
  • 1
  • 25
  • 38
-1

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.

adrianmcmenamin
  • 1,081
  • 1
  • 15
  • 44