程序在Eclipse中不运行 [英] Program in Eclipse not Running
问题描述
我刚刚安装了Eclipse 4.2.0,并将我所有的旧程序导入到其中,除了当我运行程序时,它会弹出一条消息:
I've just installed Eclipse 4.2.0 and also imported all my old programs into it, except that when I run my programs, it pops up with a message saying:
选择要运行的内容:
Ant构建:使用默认
Ant Build: Launches an Ant Build with default
Ant Build启动Ant构建。 ..:启动Ant构建,并允许配置
Ant Build...: Launches an Ant Build and allows it to be configured
此消息从未出现在我之前。我不知道是不是因为我导入了我的文件不正确或我忘了安装的东西。请告诉我如何让它再次正常工作。感谢提前。
This message has never appeared to me before. I wonder if it is because I imported my files incorrectly or something that I forgot to install. Please tell me how I can make it work properly again. Thanks in advance.
推荐答案
啊!这是我之前遇到的一个问题。这个提示解决了这个问题。以下是如何做到这一点。
Ah! this is an issue I've experienced earlier. This tip solved the issue. Here's How to do it.
确保您已经构建了它。或者您可以启用 Project - >自动构建
。
Make sure that you've built it. Or you can enable Project --> Build Automatically
.
设置上述选项后,请尝试清理工作区。 项目 - >清理
并清理您导入的所有项目。
After the above option is set, try cleaning the workspace. Project --> Clean
and clean all the projects you've imported.
现在重启
eclipse和您可以启动您的程序。
Now restart
eclipse and you can launch your program.
这篇关于程序在Eclipse中不运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!