2
respostas

BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 60

OS: MacOS BigSur 11.2.3 (20D91) Apple M1 SDK: openjdk version "16" 2021-03-16 OpenJDK Runtime Environment Zulu16.28+11-CA (build 16+36) OpenJDK 64-Bit Server VM Zulu16.28+11-CA (build 16+36, mixed mode) IDE: IntelliJ IDEA 2021.1 CE

Grabble: plugins { id 'org.jetbrains.kotlin.jvm' version '1.4.32' }

group = 'me.alvaromota' version = '1.0-SNAPSHOT'

repositories { mavenCentral() }

dependencies { testImplementation 'org.jetbrains.kotlin:kotlin-test-junit' }

test { useJUnit() }

compileKotlin { kotlinOptions.jvmTarget = '11' }

compileTestKotlin { kotlinOptions.jvmTarget = '11' } Could not open init generic class cache for initialization script '/private/var/folders/7j/tqk5mpq140g9z5_vp1mzb5v80000gn/T/wrapper_init.gradle' (/Users/alvaromota/.gradle/caches/6.8/scripts/5u3ghiozvuvwae0wmh7q7rsvh).

BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 60

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. So, I'm not able to create Kotlin application. Please, Any thoughts on what happened here?

2 respostas

Problema resolvido: Mais detalhes aqui.

https://youtrack.jetbrains.com/issue/KTIJ-7646

Show ALVARO, obrigado por compartilhar a solução :)