解决idea环境代码保存后不能实时编译的问题 Posted on 2月 13, 2021 by admin 1.在项目目录下运行 mvn idea:idea 2. cd yourporject/path, rm *.iml *.ipr *.iws, the reopen idea, 重新在idea中执行maven build 3. Alt+shift+A, Type:Registry 选择 compiler.automake.allow.when.app.running 打勾