Scala with ScalaFx: invalid or missing dependency
<p>After I switched from SDK Version <code>scala-SDK-4.4.1-vfinal-2.11-win32.win32.x86_64</code> to Version <code>scala-SDK-4.5.0-vfinal-2.11-win32.win32.x86_64</code> I´m getting some error messages in eclipse:</p>

<p><a href="https://i.stack.imgur.com/7yXTs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7yXTs.png" alt="eclipse errors"></a></p>

<p>Full error message:</p>

<blockquote>
  <p>missing or invalid dependency
  detected while loading class file 'Alert.class'. Could not access term
  Alert in package javafx.scene.control, because it (or its
  dependencies) are missing. Check your build definition for missing or
  conflicting dependencies. (Re-run with <code>-Ylog-classpath</code> to see the
  problematic classpath.) A full rebuild may help if 'Alert.class' was
  compiled against an incompatible version of
  javafx.scene.control. ageofscala      Unknown Scala Problem</p>
</blockquote>

<p>I´m getting 23 errors of that.</p>

<p>I´m using scalaFx in my project. Before I switched to the newer SDK, the project was running perfectly. Now it doesn´t even run with the older SDK version. The reason because I switched to the newer SDK was this error: <a href="https://stackoverflow.com/questions/18609160/eclipse-returns-error-message-java-was-started-but-returned-exit-code-1">Eclipse returns error message “Java was started but returned exit code = 1”</a> So I added this line to the eclipse.ini file:</p>

<p><code>-vm
C:/Program Files/Java/jdk1.8.0_25/jre/bin/server/jvm.dll
</code></p>

<p>And here is my build.sbt :</p>

<pre><code>scalaVersion := "2.11.8"

libraryDependencies += "com.typesafe" % "config" % "1.2.1"
libraryDependencies += "com.github.nscala-time" %% "nscala-time" % "2.12.0"
libraryDependencies += "com.typesafe.akka" %% "akka-actor" % "2.4.4"
libraryDependencies += "com.lambdaworks" %% "jacks" % "2.3.3"
libraryDependencies += "com.typesafe.play" % "play_2.11" % "2.5.3"
libraryDependencies += "org.scala-lang" % "scala-swing" % "2.11.0-M7"
libraryDependencies += "org.scalafx" % "scalafx_2.11" % "8.0.92-R10"
</code></pre>

<p>Are there some version problems or something else? I tried to update the project to the newest Scala version (<code>"2.12.1"</code>) and newest ScalaFx version (<code>"org.scalafx" %% "scalafx" % "8.0.102-R11"</code>) but with no success...
Can anyone please help me? Thanks!</p>