scalac: Token not found: C:\Users\User\AppData\Local\JetBrains\IntelliJIdea2020.3\compile-server\to

Record an error in idea Scala project:

Error message:

scalac: Token not found: C:\Users\User\AppData\Local\JetBrains\IntelliJIdea2020.3\compile-server\to

resolvent:

After deleting the scala SDK in Libraries under project structure, close idea, re open it, check the version of scala in pom.xml file, and re import the scala SDK

Read More: