Library 'scala-2.10.0-RC1 not used' thrown

2019-02-27 00:29发布

问题:

I've just generated a fresh Play! application, version 2.1-RC1.

This one includes two Scala compiler/library couple:

  • Scala 2.9.2
  • Scala 2.10.0-RC1

The whole well compiles within IntelliJ IDEA 12 but a warning occurs as the image shows it:

It would seem so that another compiler is used instead 2.10.0-RC1.

However, my Scala facet is configured as this:

What might be the warning cause?

I precise that I've got also a Scala variable environment (used for shell Scala commands) configured to point to scala-2.10.0-RC2, but I well imagine that IntelliJ is based on library that user indicates in Scala Facet.

回答1:

You can remove that .jar from the libraries, it's not used because it's redundantly generated by IntelliJ SBT plubin.