Scala 2.11.5 を使用した動作中の Scala アプリケーションがあります。
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>2.11.5</version>
</dependency>
SORM を導入するときは、次の Maven 依存関係を使用します。
<dependency>
<groupId>org.sorm-framework</groupId>
<artifactId>sorm</artifactId>
<version>0.3.18</version>
</dependency>
次の 2 つのビルド エラーが発生します。
scala-parser-combinators_2.12.0-M4-1.0.4.jar of xxx build path is cross-compiled with an incompatible version of Scala (2.12.0).
scala-xml_2.12.0-M4-1.0.5.jar of xxx build path is cross-compiled with an incompatible version of Scala (2.12.0).
古いバージョンの SORM を使用してみましたが、同様の問題が発生します。たとえば、 version の場合0.3.8
:
slf4s_2.9.1-1.0.7.jar of xxx build path is cross-compiled with an incompatible version of Scala (2.9.1).
Squeryl
オブジェクト リレーショナル マッピングに を使用すると、同様の問題が発生します。
<dependency>
<groupId>org.squeryl</groupId>
<artifactId>squeryl_2.9.3</artifactId>
<version>0.9.5-7</version>
</dependency>
次のビルド エラーが発生します。
squeryl_2.9.3-0.9.5-7.jar of xxx build path is cross-compiled with an incompatible version of Scala (2.9.3).
誰にも解決策がありますか?
ありがとう