IDEA Scala报错 ”cannot access XXXXX“ 解决办法: File --> Invalidate Caches/Restart --> Invalidate and Restart 亲测有效,idea重启下。