Intellij Idea errors on packages import in Scala Cross-platform project #27589

87 views Asked by At

I'm currently trying to implement a Scala cross-platform project using the sbt-crossproject plugin.

In the shared module i can't import Scala classes of other packages. If i compile from sbt there are no errors and the project runs correctly but Idea still doesn't recognize classes from other packages.

The project repo is here but you can reproduce it importing https://github.com/AndreaGiulianelli/scala-cross-project/ with sbt and opening the Prova2.scala source file.

Any suggest?

IDE version: 2022.1

0

There are 0 answers