解决intellij idea 找不到或无法加载主类,请看以下图文介绍 然后idea会重启,等idea启动后 右侧的maven clean 一下,然后再compile就解决了 转载于:https://www.cnblogs.com/bygrace/p/8568336.html