Editor does not contain a main type

后端 未结 30 2447
执笔经年
执笔经年 2020-11-27 13:51

Just going through the sample Scala code on Scala website, but encountered an annoying error when trying to run it.

Here\'s the code: http://www.scala-lang.org/node/

30条回答
  •  清歌不尽
    2020-11-27 14:37

    This could be the issue with the Java Build path. Try below steps :

    1. Go to project properties
    2. Go to java Build Path
    3. Go to Source tab and add project's src folder

    This should resolve the issue.

提交回复
热议问题