Netbeans 7.1运行旧代码而不是新代码 [英] Netbeans 7.1 running old codes rather than new ones

查看:102
本文介绍了Netbeans 7.1运行旧代码而不是新代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好,这真的很奇怪.我一天前写了一些代码,然后编辑了这些代码.在经过数小时的编辑,重写和引入新类之后,我运行了代码,但是随后我收到了我早已删除的"System.out.println()"行的响应.基本上,netbeans似乎在运行我的代码的旧版本.我已经清理并重建了代码,仍然一无所获.它会继续运行旧代码.

Ok, this is really weird. I wrote some codes a day ago, and then edited the codes. Then after hours and hours of editing and rewriting and introducing new classes, I ran the codes, but then I go a response from a "System.out.println()" line that I had long removed. Basically, netbeans seems to be running a much older build of my codes. I've cleaned and re-built my codes and still nothing. It keeps running old codes.

这是怎么回事?

推荐答案

我遇到了类似的问题.我点击清理并构建" ,然后点击运行" ,就可以了.

I had similar problem. I hit "Clean and Build", and then "Run", and it worked.

这篇关于Netbeans 7.1运行旧代码而不是新代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆