首页 > 其他 > 详细

cannot be resolved to a type in same package 问题解决

时间:2016-02-09 22:10:09      阅读:394      评论:0      收藏:0      [点我收藏+]

在 STS 上,一个类引用在相同 package 中另一个类,但是报 cannot be resolved to a type 错误。

解决方法 : 

 

Alternatively, you can highlight the project :

Choose Clean ... from Project menu and if you have activated the Build Automatically option (in the same menu), the classes will be generated anew.

 

参考资料 : 

Why can‘t eclipse resolve class in same package?, stackOverFlow 

cannot be resolved to a type in same package 问题解决

原文:http://www.cnblogs.com/TonyYPZhang/p/5185725.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!