Kotlin – 无法运行intellij中的“hello world”
我正在尝试通过下面的maven指令来配置Kotlin项目: https ://kotlinlang.org/docs/reference/using-maven.html#KotlinBuildTools-Maven in intellij。
pom.xml似乎由intellij自动配置,但我不断收到我的hello世界文件错误“kotlin未配置”。
intellij编译器有错误:“Kotlin:Unresolved reference:println”。
我正在使用intellij 15.0.3和kotlin 1.0.0
- Kotlin JSR-223在Fat jar中的ScriptEngineFactory – 找不到kotlin编译器jar
- 如何使用Maven运行Spek测试?
- Kotlin-Kapt注释处理器不能与maven一起工作
- 任何如何在Maven依赖关系中启用Kotlin扩展函数的例子?
- Maven导入依赖Jetbrains暴露
在这里找到答案: https : //discuss.kotlinlang.org/t/intellij-kotlin-project-screw-up/597
看来这个项目不知何故被打破了。 intellij建议修复这个问题的项目结构。