idea 编译通过,运行提示类找不到

个人的解决方案如下:
勾选下图配置项: 将IDE构建/运行操作委托给Maven
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/H_Rhui/article/details/108606012