没有设置好正确的类路径
点击上面圈红色处,在点击Edit Configuration,进入下面设置界面

切换到下面这个界面

红色×消失,运行正常,截图如下


标签:错误 blog info edit log 消失 com nbsp col
没有设置好正确的类路径
点击上面圈红色处,在点击Edit Configuration,进入下面设置界面

切换到下面这个界面

红色×消失,运行正常,截图如下


java---->Itellij idea报错:错误: 找不到或无法加载主类 main
标签:错误 blog info edit log 消失 com nbsp col
原文地址:https://www.cnblogs.com/mrray1105/p/8135616.html