您的位置:首页 > 编程语言 > Java开发

ECLIPSE “CANNOT BE RESOLVED TO A TYPE” ERROR

2015-05-12 10:57 429 查看
可能还有其他方法、可能这个方法对你不管用,但是确实解决了我现在的问题~

Clean, refresh, build, restart

Also, remember any external build/clean scripts you might be using. For instance, Grails has a command line “clean” you may have to invoke. Same if you have Ant or Maven builds.

David
Resnick (comment below) discovered this tip for those with an external build script:

Windows–>Preferences–>Java–>Compiler–>Building–>Output folder–>”Rebuild class files modified by others”.

This exists in Eclipse 3.5; I’m not sure about earlier versions.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: