07/13/2022, 2:51 PM
Maven Compiler Throws Kotlin Version Error I am trying to build a Kotlin project on maven. I am using the kotlin-maven-plugin version 1.7.10. But every time I run mvn clean install -e, I keep getting the error: Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.1.16. Now I will be honest, I dont know much about Kotlin. So some pointers on this would nice. I have tried adding the apiVersion tag in the plugin and set it to 1.3, but that did not...