最后解决方案有效

然后全部add maven。
下面是网上的:我试了无效,也留着。
Ctrl+Alt+s 打开settings(我上了QQ就成截图了,那就去菜单弄 )


接下来
Ctrl+Shift+Alt+/ ,弹出选择registry。。。勾选compiler.automake.allow.when.app.running


重启idea
本文介绍了如何在IntelliJ IDEA中解决因同时运行时自动编译导致的问题,包括添加Maven依赖和配置compiler.automake允许。经过重启IDEA后,提供了详细步骤来确保编译设置正常工作。

然后全部add maven。
Ctrl+Alt+s 打开settings(我上了QQ就成截图了,那就去菜单弄 )


接下来
Ctrl+Shift+Alt+/ ,弹出选择registry。。。勾选compiler.automake.allow.when.app.running


重启idea

被折叠的 条评论
为什么被折叠?
