错误在eclipse中运行当前程序[重复](error running the current program in eclipse [duplicate])
这个问题在这里已有答案:
Eclipse正在执行错误的Java文件 6个答案我写了一个新代码并点击了运行。 单击运行后,控制台再次显示上一个程序。 我重启了eclipse甚至我的电脑。 这经常发生在我的IDE中。 我该怎么办?
This question already has an answer here:
Eclipse is executing the wrong Java file 8 answersI have written a new code and clicked run. after clicking run, the console shows the previous program again. I have restarted eclipse and even my computer. This happens very often to my IDE. What should I do?
最满意答案
尝试右键单击编辑器并选择“Run As”>>“Run Configurations”并检查是否运行了正确的编译包。 似乎由于某种原因你的日食运行错误。
Try right click on the editor and chose 'Run As' >> 'Run Configurations' and check if you run the right compilation package. It seems that for some reason your eclipse runs the wrong one.
更多推荐
发布评论