Scala import not working - object is not a member of package, sbt preppends current package namespace in imports

后端 未结 12 1995
死守一世寂寞
死守一世寂寞 2020-12-14 14:28

I have an issue when trying to import in scala. The object Database exists under com.me.project.database but when I try to import it:



        
12条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-14 14:46

    I had a similar problem but none of the solutions here worked for me. What did work however was a simple restart of my machine.

    Perhaps it was something with my Intellij but after a quick restart, everything seems to be working fine.

提交回复
热议问题