Kotlin And Java In The Same Project Using Eclipse IDE

后端 未结 5 1526
轻奢々
轻奢々 2020-12-30 02:21

I posted a similar question regarding gradle but this question is without gradle or maven.

I can not get Kotlin working properly using Eclipse IDE. This works great

5条回答
  •  梦谈多话
    2020-12-30 03:01

    I'm working on a project with Spring Boot and Kotlin (some controllers/mappers/classes in Java and others in Kotlin) and after trying a lot of approaches, the only that worked was to use Eclipse 03-2020 and Kotlin Plugin for Eclipse V0.8.19.

    https://dl.bintray.com/jetbrains/kotlin/eclipse-plugin/0.8.19/

    • Before everything, close your project and uninstall the previous version of Kotlin Plugin for Eclipse.
    • Go to Help/Install New Software.
    • Copy the link of Eclipse Plugin and continue with the installation (do not forget to check all the options to install).
    • After the installation restart the IDE and try compile again.

提交回复
热议问题