在Eclipse中,我的源代码的更改没有任何效果 [英] In Eclipse, the changes of my source code have no effect

查看:186
本文介绍了在Eclipse中,我的源代码的更改没有任何效果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个奇怪的问题在Eclipse Helios。当我修改源代码时,我的更改没有任何效果。即使我以一种看起来不可编译的方式改变代码,仍然可以运行。



当我编辑并保存我的源并将其提交给svn时,Eclipse似乎在后台保持状态。



我不知道要查找什么设置或还有什么要做的。我很乐意得到任何帮助。



祝福,
David

解决方案

如果上述步骤没有解决问题,请执行以下操作,



关闭eclipse
转到项目文件夹硬盘。
删除.metadata文件并重新启动eclipse并重新访问工作区。
类路径和库将被重新验证,并且项目已新建。


I have a strange problem in Eclipse Helios. When I alter my source code, my changes have no effect. Even if I alter the code in a way that looks uncompilable, it still can be run.

It seems that Eclipse keeps its state somewhere in the background while I edit and save my sources and commit them to svn.

I don't know what setting to look up or what else to do. I'd be glad to receive any help.

Best regards, David

解决方案

Just in case the above steps do not address the problem do the following,

Close eclipse Go to the project folder on the hard drive. Delete the .metadata file and restart eclipse and revisit the workspace. The class path and libraries will be re validated and the project fresh built.

这篇关于在Eclipse中,我的源代码的更改没有任何效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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