IntelliJ IDEA won't load Groovy found on my disk

后端 未结 4 1111
太阳男子
太阳男子 2021-01-12 16:09

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 s

相关标签:
4条回答
  • 2021-01-12 16:16

    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

    0 讨论(0)
  • 2021-01-12 16:25

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

    0 讨论(0)
  • 2021-01-12 16:35

    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.

    0 讨论(0)
  • 2021-01-12 16:36

    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

    0 讨论(0)
提交回复
热议问题