Kotlin VerifyError: Uninitialized object exists on backward branch 90

前端 未结 2 1011
情歌与酒
情歌与酒 2021-01-18 05:50

I am using the Kotlin getting started guide to setup Kotlin for the first time on IntelliJ IDEA with the following configuration:

IntelliJ IDEA 2017.2.5
Buil         


        
相关标签:
2条回答
  • 2021-01-18 06:21

    This is due to a bug in earlier JDK 8 versions. Open up the project structure for your project and change your project SDK to a more recent version.

    Upgrading from JDK 1.8.0_11 to 1.80_72 solved the problem for me.

    0 讨论(0)
  • 2021-01-18 06:26

    Just check "Use embedded JDK" in File>Project Structure>SDK Location> JDK Location

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