spark报错

(1)Error:scalac: bad symbolic reference. A signature in package.class refers to type compileTimeOnly in package scala.annotation which is not available. It may be completely missing from the current classpath, or the version on the classpath might be incompa

解决:在pox.xml删掉多余的包

(2)运行scala程序报错:exception in thread main java.nio.charset.MalformedInputException:Input length=1

可能文件编码问题:gbk换成utf-8 

原文地址:https://www.cnblogs.com/fulse/p/7851719.html