Reputation: 63
Hi I lately wanted to start developing in Groovy but when I try IntelliJ IDEA it won't load Groovy cause it says:
Looks like Groovy distribution in specified path is broken. Cannot determine version.
Whats going on I even tried some older release and it didn't work either :( Did someone have same problem or knows how to work that out?
Upvotes: 6
Views: 2891
Reputation: 629
Looks like there is an issue with the IntelliJ! This works by changing the jar. Thanks for sharing this. Just adding more bits.
Just in case, the jar is in the lib folder. I've downloaded the groovy-2.4.13 and rename the jar from /groovy-2.4.13/lib/groovy.2.4.13 to /groovy-2.4.13/lib/groovy
Upvotes: 0
Reputation: 21
Changing groovy-x.x.x.jar to groovy.jar solved my issue as well, I am using Intellij Idea 2017.2.2 with Groovy SDK groovy-2.5.0-beta-1
Upvotes: 2
Reputation: 31
Ive changed groovy-x.x.x.jar to groovy.jar and it works in IntelliJ 2016.1.2
Upvotes: 3
Reputation: 402483
It's a known issue:
As a workaround you can use Groovy 2.4.9 or rename groovy-2.4.10.jar
to groovy-2.4.9.jar
.
The problem is fixed for IntelliJ IDEA 2017.1.1 and 2016.3.6 versions.
Upvotes: 3