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

后端 未结 12 727
暗喜
暗喜 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 10:52

    For me it was Eclipse specific problem. I noticed that .class file wasn't built at all. So bin directory doesn't have compiled classes. When I manually compiled *.scala file using *.sbt and copied it to bin directory it was working as expected. I tried different tips and tricks and it wasn't worked until I reinstalled Scala plugin in Eclipse .

提交回复
热议问题