【scala】問題cannot resolve symbol spark

alexliu2360發表於2020-09-27

cannot resolve symbol spark

檢查以下幾個方面:

①File->Settings->plugins->scala

②FIle->Project Structure->Modules->把當前的工程刪了,重新匯入

③FIle->Project Structure->Libraries->匯入$SCALA_HOME的具體路徑作為Scala的SDK

④FIle->Project Structure->SDKs->匯入$JAVA_HOME的具體路徑作為JDK

⑤File->Invalidate Caches/Restart

相關文章