scala: No scalac found to compile scala sources
Incrementality Type 先变成 IDEA 类型
Please go to Settings > Build, Execution, Deployment > Compiler > Scala Compiler and change the Incrementality type to IDEA.
升级到 2023.2.4 以后版本
https://youtrack.jetbrains.com/issue/SCL-21480