开发工具和环境配置
Java/python开发工具和环境配置
太白山鹰
数风流人物,据比特世界
展开
-
Intellij IDEA 测试scala程序的时候: "Test is already defined as object Test"
使用Intellij IDEA 编写第一个SCALA程序的时候,会出现报错:object TestScala { def main(args: Array[String]): Unit = { println("Hello,Scala") }}报错:Error:(9, 8) TestScalaObject is already defined as object TestSc...原创 2018-04-05 09:43:24 · 4245 阅读 · 1 评论 -
Intellij IDEA 测试scala程序的时候:Exception in thread “main“ java.lang.NoClassDefFoundError: scala/Predef$
Exception in thread "main" java.lang.NoClassDefFoundError: scala/Predef$ at HelloWorld$.main(HelloWorld.scala:4) at HelloWorld.main(HelloWorld.scala)Caused by: java.lang.ClassNotFound...原创 2018-04-05 10:19:51 · 15039 阅读 · 4 评论