Cannot Setup Groovy Library with IntelliJ
Answered
Hi,
I tried to set up Groovy library with IntelliJ but I keep getting error: Failed to Create Library - Looks like Groovy distribution in specified path is broken. Cannot determine version.
I installed Groovy through Homebrew on my Mac -- brew install groovy
Mac OS X version: El Capitan 10.11.6
IntelliJ version: 2017.1 Community Edition
Groovy version: 2.4.10
GROOVY_HOME: /usr/local/opt/groovy/libexec
I tried pointing the library to the location specified in value of GROOVY_HOME.
Can anyone help? Any suggestion?
Please sign in to leave a comment.
Same here. When I choose path /usr/local/opt/groovy/libexec, the error is prompted, and I choose path /usr/local/opt/groovy/libexec/lib, nothing happened, no message and no library created.
Please use Groovy 2.4.9 until the fix is released with 2017.1.1 update: https://youtrack.jetbrains.com/issue/IDEA-170022.
Got the same issue. Using Groovy 2.4.9 resolves the issue for me.
Unfortunately, I do not see a way to download the 2.4.9 release of Groovy. The website only appears to allow download of 2.4.10 and this is the first time that I am installing Groovy and I don't have any older versions. When will the update be coming out?
Thanks.
-Thomas
You can download any Groovy version here: https://dl.bintray.com/groovy/maven/.
Update for IntelliJ IDEA will be available in a couple of weeks.
Simply make a copy of a groovy-2.4.10.jar to groovy.jar
After the setup of a Global Library is complete delete groovy.jar
I'm having exactly this same issue with the newest version o intellij. Reverting back to groovy 2.4.9 works anything above will not be discovered by intellij. My version:
IntelliJ IDEA 2017.2.6
Build #IU-172.4574.11, built on November 13, 2017
It's not the same issue, please report at https://youtrack.jetbrains.com/issues/IDEA with more details.