Eclipse not recognizing Scala code

前端 未结 11 2698
说谎
说谎 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:26

    This problem can show up when you copy an existing java project to start a new project or use a project file generator.

    One thing you can look at is your Java Build Path inside project properties. Make sure your scala source folder doesn't have an include filter like **/*.java. Make sure it is **/*.scala or remove it and your source should be detected by the scala plugin.

提交回复
热议问题