作者热门文章
- mongodb - 在 MongoDB mapreduce 中,如何展平值对象?
- javascript - 对象传播与 Object.assign
- html - 输入类型 ="submit"Vs 按钮标签它们可以互换吗?
- sql - 使用 MongoDB 而不是 MS SQL Server 的优缺点
我在互联网上到处寻找,并尝试了论坛所说的一切,但没有任何效果。这个错误不断出现。我试过运行我的java项目(不适用于android),即使下拉运行按钮不起作用,因为它说“不适用”。
最佳答案
Eclipse 需要查看项目源文件之一中的 main 方法,以确定它是什么类型的项目,以便它可以提供正确的运行选项:
public static void main(String[] args)
没有该方法签名(或该方法签名的格式错误版本),“运行方式”菜单项将不会显示任何运行选项。
关于java - Eclipse Java 错误 : This selection cannot be launched and there are no recent launches,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25858400/
我是一名优秀的程序员,十分优秀!