Spark sbt打包出错
/usr/local/sbt/sbt package出现
[ERROR] Failed to construct terminal; falling back to unsupported
java.lang.NumberFormatException: For input string: “0x100”
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
运行 sudo gedit ~/.bashrc
最后一行添加 TERM="${TERM/xterm-256color/xterm-color}"
最后source ~/.bashrc
error: error while loading package, Missing dependency ‘object java.lang.Object in compiler mirror’
spark应用sbt打包时:
运行/usr/local/sbt/sbt package出现
error: error while loading package, Missing dependency 'object java.lang.Object in compiler mirror', required by /home/hadoop/.sbt/boot/scala-2.10.6/lib/scala-library.jar(scala/package.class)
通过错误信息的提示,没有找到Java的包,所