I have a problem with sbt-imported projects. Today as I re-opened a project, I first got an error message that no "Scala SDK" was set up. When I clicked that message I was led to a dialog to select such an SDK, but there were no options. I closed and re-opened the project. That same message appeared, but now I could select the sbt-based Scala SDK. But now the build is broken. The run configurations don't work any longer. I simply get a "java.lang.ClassNotFoundException" when I try to run objects in this project. When I press "Make Project" I get compile errors from missing dependencies.
Is there an option to "repair" a broken sbt-project, or is the only possibility to delete the .idea files and re-create the project (which would be bad, because I'd lose all the run configurations)?
__Edit__: The "Project Structure" looks all correct, all the dependencies are there.