Eclipse not recognizing Scala code

前端 未结 11 2632
说谎
说谎 2021-02-18 19:20

I have Eclipse Indigo with the Scala IDE plugin. I downloaded a lift project from Maven. It builds correctly. Eclipse says it is viewing it with the Scala editor.

How

11条回答
  •  北海茫月
    2021-02-18 19:46

    It may even be simpler than that, I forgot to write the package name at the top of the source file thus Eclipse neglected to see it as a Scala file.

提交回复
热议问题