安装配置scala2.11后发现,输入scala启动时,会报一大篇错“
[ERROR] Failed to construct terminal; falling back to unsupported
java.lang.NumberFormatException: For input string: "0x100"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
”
但是可以正常使用scala进行编程。
这满篇的error看的人着实痛苦,找到解决办法如下
参考教程:spark踩坑记 - 灰信网(软件开发博客聚合)https://www.freesion.com/article/1005811317/ ·gedit ~/.bashrc
·添加 export TERM=xterm-color
·source ~/.bashrc使其生效
实测有效:
解决🐾