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

后端 未结 9 1916
臣服心动
臣服心动 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:07

    I had the same problem. However by switching to Java 7 my problem is resolved. So now this configuration works for me:

    sbt 0.13.8
    scala 2.11.7
    java 7
    

提交回复
热议问题