项目导入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 

Sometimes there will be more mistakes when you import a foreign engineering myeclipse, mainly because your computer is more than one version of jdk installed, the solution is: the steps:

project-> properties-> Java Bulid Path deletes the original jdk  

   then Java Build Path -----> Libraries ----> Add Libraries -----> JRE System Library or choose MyEclipse comes with jdk to choose their own package. 

Guess you like

Origin www.cnblogs.com/ketoli/p/11698833.html