简体   繁体   English

Eclipse / RAD运行菜单消失了

[英]Eclipse / RAD run menu vanished

I had a project and everything was working and then for some reasons I had to do a new checkout from the repository and now my IDE is not working. 我有一个项目,一切正常,然后由于某些原因,我不得不从存储库进行新的结账,现在我的IDE无法运行。 Where there used to be a menu for run as application---there is now only some mobile selection. 曾经有一个菜单作为应用程序运行---现在只有一些移动选择。 I just want to run this as a java class. 我只想将它作为java类运行。 Why can't I? 为什么我不能?

在此输入图像描述

Src is not a source folder, so your source is not compiled and cannot be run. Src不是源文件夹,因此您的源代码未编译且无法运行。 The hollow J in the icon indicates exactly this. 图标中的空心J表示这一点。

Add src to the build path. 将src添加到构建路径。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM