Groovy - WARNING: An illegal reflective access operation has occurred

前端 未结 7 2104
时光取名叫无心
时光取名叫无心 2021-02-05 02:20

I am pretty much new to java and groovy. I have installed groovy 3.0 on my windows 10 laptop (64 bit) and when tried to run groovy getting following warning:

&g         


        
7条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-05 03:08

    Although my environment is Linux, after struggling some days to setup Groovy on Grails environment I feel like I know the answer: use JDK 8 for now. I was fiddling with JDK 9, and I thought it was too far behind so I tried JDK 11, which made things even worse, I got actual crashes. It seems like that Groovy / Grails is heavily lagging behind in terms of Java version compatibility.

    Once the new Groovy will be released (said to be end of this year) then newer JDK can be used as well.

提交回复
热议问题