'jvm-1.8' is not a valid choice for '-target'

前端 未结 7 964
一整个雨季
一整个雨季 2021-01-01 17:07

IntelliJ complains with the following exception when I try to make my project.

Error:scalac: \'jvm-1.8\' is not a valid choice for \'-target\'
Error:scalac:          


        
相关标签:
7条回答
  • 2021-01-01 17:39

    In my case, I have resolved by removing conflict between scala-sdk mentioned in POM and importing in global libraries.

    Check scala-sdk version in the pom.xml and also check the global libraries scala-sdk you have added. it should be same.

    0 讨论(0)
提交回复
热议问题