Scala project won't compile in Eclipse; “Could not find the main class.”

后端 未结 12 784
暗喜
暗喜 2020-12-03 10:14

I have installed Eclipse 3.5.2 and today\'s Scala plugin from /update-current (that\'s Scala 2.8 final.) I can compile and run Scala projects consisting of a single singleto

12条回答
  •  误落风尘
    2020-12-03 11:04

    Do you have a proper build tool setup? Like sbt have you installed it?

    You can check its version by $sbt --version

    If it is not setup you can download from here http://www.scala-sbt.org/download.html

    You might have to restart your eclipse after installation.

提交回复
热议问题