eclipse 导入 javax.mail. cannot be resolved错误

eclipse 导入 javax.mail. cannot be resolved错误

正解:

The import com... cannot be resolved
  eclipse 类导入出错“The import  ... cannot be resolved”,解决方法:
选择project-->clean后,问题得到解决。如果还不能解决,可以尝试删掉import, 
然后一个一个的手动导入【alt+/】

 

前提是 首先保证jar包已导入。

posted @ 2013-11-12 00:00  losesea  阅读(1631)  评论(0)    收藏  举报