使用eclipse运行程序的时候肯定有一个问题就是当前程序无法运行,其实解决起来并不麻烦,如果你会操作,不如来这里看看eclipse运行不了当前程序解决方法。
1、如果是java文件,就在文件中右击选择“ run java Application ”。文章源自四五设计网-https://www.45te.com/21202.html
文章源自四五设计网-https://www.45te.com/21202.html
2、web工程就在项目上右击选择“ run as on server ”。文章源自四五设计网-https://www.45te.com/21202.html
文章源自四五设计网-https://www.45te.com/21202.html
3、也可以在eclipse中输入 main主函数 ,右击空白处点击“ run as ”选项。文章源自四五设计网-https://www.45te.com/21202.html
文章源自四五设计网-https://www.45te.com/21202.html
4、选择“ java application ”选项,点击 成功运行run 即可,run运行 必须该类包含了main主函数 。文章源自四五设计网-https://www.45te.com/21202.html
文章源自四五设计网-https://www.45te.com/21202.html
文章源自四五设计网-https://www.45te.com/21202.html
- 我的微信
- 微信扫一扫
-
- 惠生活福利社
- 微信扫一扫
-
评论