码迷,mamicode.com
首页 > 编程语言 > 详细

The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files

时间:2015-08-03 14:11:53      阅读:214      评论:0      收藏:0      [点我收藏+]

标签:

 

最近在做J2ME开发项目,配置环境一切OK,但是打开项目时某些文件提示: The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files,经查阅是因为环境中的JRE冲突引起的,我是通过以下方式解决了问题。

 在Eclipse上依次打开Windows->Preferences->Java->Build Path->User Libraries,清空列表即可,如下图所示:

技术分享

The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files

标签:

原文地址:http://www.cnblogs.com/csts/p/4699097.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!