解决方案:将IntelliJ IDEA中File | Settings | Build, Execution, Deployment | Compiler中勾选build project automatically即可 相关文章: