DataXServer icon indicating copy to clipboard operation
DataXServer copied to clipboard

httpserver 编译出错

Open zxf216 opened this issue 5 years ago • 1 comments

[INFO] ------------------------------------------------------------------------ [INFO] Building Hamal HTTP Server 2.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:add-source (add-source) @ hamal-http-server --- [INFO] Source directory: D:\code\my\workspace\DataXServer-master\httpserver\src\main\thrift\gen-java added. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hamal-http-server --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- scala-maven-plugin:3.2.2:compile (scala-compile-first) @ hamal-http-server --- [WARNING] Expected all dependencies to require Scala version: 2.13.0 [WARNING] com.typesafe.akka:akka-actor_2.13:2.5.25 requires scala version: 2.12.0 [WARNING] Multiple versions of scala libraries detected! [INFO] Using incremental compilation [INFO] 'compiler-interface' not yet compiled for Scala 2.13.0. Compiling... C:\Users\002696\AppData\Local\Temp\sbt_3fa94ed9\xsbt\Compat.scala:127: error: postfix operator headOption needs to be enabled by making the implicit value scala.language.postfixOps visible. This can be achieved by adding the import clause 'import scala.language.postfixOps' or by setting the compiler option -language:postfixOps. See the Scaladoc for value scala.language.postfixOps for a discussion why the feature needs to be explicitly enabled. } headOption ^ one error found

zxf216 avatar Dec 10 '19 06:12 zxf216

可以尝试注释掉pom文件中recompileMode配置

TianLangStudio avatar Dec 10 '19 13:12 TianLangStudio