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

后端 未结 12 786
暗喜
暗喜 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条回答
  •  旧时难觅i
    2020-12-03 11:06

    There can be the case of projects, containing errors, added to the build path of the application which prevents the completion of successful compilation. Make sure you remove any such project from the build path before running the application.

    Removing these projects solved the problem for me.

提交回复
热议问题