BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 57

Answered

I am getting the below error:

 

What went wrong:
Could not open settings remapped class cache for 4gg7c4mwvx31po478k99yrnr5 (/Users/cn188966/.gradle/caches/5.6.4/scripts-remapped/settings_bw8if9ecrdnjdmn994hpe1fe4/4gg7c4mwvx31po478k99yrnr5/settingsfbf702bb743fa0d878b8f23cc99e6807).
> Could not open settings generic class cache for settings file '/Users/cn188966/ccp/CCP-Python-Repo/settings.gradle' (/Users/cn188966/.gradle/caches/5.6.4/scripts/4gg7c4mwvx31po478k99yrnr5/settings/settingsfbf702bb743fa0d878b8f23cc99e6807).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 57

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

 

This is the Java version I have on Ma

java --version
openjdk 13.0.1 2019-10-15
OpenJDK Runtime Environment (build 13.0.1+9)
OpenJDK 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)

 

I have tried removing the caches under the .gradle folder and still the same error. 

1
1 comment

Here is a related issue on YouTrack:

https://youtrack.jetbrains.com/issue/KT-34134

Feel free to watch it in order to be notified once it has updates. See this article if you are not familiar with YouTrack.

0

Please sign in to leave a comment.