cannot be resolved to a type in same package 问题解决
2016-02-09 21:45
453 查看
在 STS 上,一个类引用在相同 package 中另一个类,但是报 cannot be resolved to a type 错误。
解决方法 :
Alternatively, you can highlight the project :
Choose
参考资料 :
Why can't eclipse resolve class in same package?, stackOverFlow
解决方法 :
Alternatively, you can highlight the project :
Choose
Clean ...from Project menu and if you have activated the
Build Automaticallyoption (in the same menu), the classes will be generated anew.
参考资料 :
Why can't eclipse resolve class in same package?, stackOverFlow
相关文章推荐
- 异步操作需要的实现的方法
- java常用的几种加密的方法
- 几个重要的maven命令
- C
- 自动化测试(一)What is Test Automation?
- 远程登录管理工具
- 每个程序员都应该成为架构师
- onResume
- hdu1625 Numbering Paths (floyd判环)
- poj 2406 Power Strings(KMP || 暴力)
- HTML+CSS笔记 CSS进阶续集
- linq-4
- Imagick 安装和使用 - windows操作系统
- 13.Roman to Intege
- HDU——1163Eddy's digital Roots(九余数定理+同余定理)
- message sent to deallocated instance
- linq-3
- 自定义rudiobutton图片和文字的间距
- linq-2
- linq-1