eclipse中的项目运行时不出现run as→java application选项 点击运行时弹出如下窗口: 解决方案☞必须有正确的主方法,即public static void main(String[]args){}