IDEA 编译时程序包不存在 1、Setting>Build>build Tools>Maven>Runner.勾选Delegate IDE build/run actions to Maven>invalidate Caches/Restart 重启后编译,问题解决!