项目导入The type java.lang.String cannot be resolved. It is indirectly referenced from required is indirectly referenced fr

Error!]the type java.lang.String cannot be resolved. it is indirectly referenced from required .class files 

有时候用myeclipse导入一个外来的工程时会出现以上错误,这主要是因为你的电脑上安装了多个版本的jdk,解决的办法是:操作步骤:

project->properties->Java Bulid Path  将原有的jdk删除  

   然后Java Build Path -----> Libraries---->Add Libraries----->JRE System Library   选择MyEclipse自带的jdk或是选择自己适合的包即可。 

你可能感兴趣的:(项目导入The type java.lang.String cannot be resolved. It is indirectly referenced from required is indirectly referenced fr)