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.
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.
相关文章推荐
- Eclipse “cannot be resolved to a type” error
- Maven项目中提示:Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- Eclipse导入其他Eclipse写的Android项目error:Activity cannot be resolved to a type
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- (转)eclipse报错及解决说明 "XX cannot be resolved to a type "
- "XX cannot be resolved to a type "eclipse报错及解决说明
- Eclipse jsp页面javax.servlet.jsp.PageContext cannot be resolved to a type 错误解决办法