Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA won't load Groovy found on my disk

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?

like image 876
Horacy Pigula Avatar asked Mar 26 '17 17:03

Horacy Pigula


3 Answers

It's a known issue:

  • IDEA-170022 Cannot create Groovy project, because cannot create Groovy library (2.4.10 version)

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.

like image 127
CrazyCoder Avatar answered Sep 26 '22 19:09

CrazyCoder


Ive changed groovy-x.x.x.jar to groovy.jar and it works in IntelliJ 2016.1.2

like image 38
Hmelu Avatar answered Sep 25 '22 19:09

Hmelu


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

like image 24
NewCoderOnTheBlock Avatar answered Sep 25 '22 19:09

NewCoderOnTheBlock