在IntelLij IDEA中下载了scala插件,运行时报错scalac: Error: Error compiling the sbt component 'compiler-interface-2.7.0-final-52.0'
创建的maven
在IntelLij IDEA中下载了scala插件,运行时报错scalac: Error: Error compiling the sbt component 'compiler-interface-2.7.0-final-52.0'
收起
试试这样写,看看对不对
object HelloWorld {
/*
* 以下程序将输出'Hello World!'
*/
def main(args: Array[String]) {
println("Hello, world!") // 输出 Hello World
}
}
编译sbt组件时出现错误 ,可能你那种写法编译错误吧
这个写法,我也试了,一样的报错
报告相同问题?