这几天在eclipse中执行main函数,提示错误
提示Could not find the main class.
找了很多的解决方法还是不行
properties->Java Build Path->JRE System Library
勾选这个 就可以解决。
本文介绍了解决 Eclipse 中执行 main 函数时出现 Could not find the main class 错误的方法。通过配置项目的 Java Build Path,正确设置 JRE System Library,可以有效解决此问题。
这几天在eclipse中执行main函数,提示错误
提示Could not find the main class.
找了很多的解决方法还是不行
properties->Java Build Path->JRE System Library
勾选这个 就可以解决。

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