Compilation failed: error while loading AnnotatedElement, ConcurrentMap, CharSequence from Java 8 under Scala 2.10?

后端 未结 9 1930
臣服心动
臣服心动 2020-12-08 09:51

I\'m using the following:

  • Scala 2.10.4
  • Scalatra 2.2.2
  • sbt 0.13.0
  • java 1.8.0
  • casbah 2.7.2
  • scalatra-sbt 0.3.5
  • <
9条回答
  •  庸人自扰
    2020-12-08 10:13

    I also got the same issue in Ubuntu 14.04 but I solved by removing the scala 2.10 and installing 2.11

    wget www.scala-lang.org/files/archive/scala-2.11.7.deb
    

     

    dpkg -i scala-2.11.7.deb
    

    Now try.

提交回复
热议问题