No enum constant org.gradle.api.JavaVersion.VERSION_14

二次信任 提交于 2020-07-06 10:50:05

问题


Using Intellij IDEA, I created a new Gradle project using Gradle 6.4 and Java 14, but when I try to build the project, I'm getting this error :

No enum constant org.gradle.api.JavaVersion.VERSION_14

What do I do ?

Edit 1 :
I'm using the latest EAP version of IDEA.


回答1:


It is known issue with 2020.2 EAP version: IDEA-243097. Will be fixed in the next EAP update (expected next week). Sorry for the inconvenience.

As a workaround please downgrade IDE version.



来源:https://stackoverflow.com/questions/62345882/no-enum-constant-org-gradle-api-javaversion-version-14

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!