Eclipse 出现select type (? = any character,*= any String,Tz=TimeZone)

版权声明:本文为博主原创文章,转载请注明原文地址和原作者 https://blog.csdn.net/wcc27857285/article/details/82291303

在eclipse中想运行project的时候,往往是右键项目名称---->run As --->Java Application

但是会弹出窗口显示select type (? = any character,*= any String,Tz=TimeZone),让我们选择

Eclipse想要我们选择一个带有main方法的类,然后运行,所以只要提供一个有main方法的类,然后选择该类,点击OK即可。

注意:main方法必须是static的

猜你喜欢

转载自blog.csdn.net/wcc27857285/article/details/82291303