遇到的问题-----java The type java.lang.String cannot be resolved. It is indirectly referenced fr
原文链接:https://blog.****.net/zzq900503/article/details/12170275
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或是选择自己适合的包即可。