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

使用sts導入工程時出現的錯誤,eclipse,myeclipse導入工程也會出現這個錯誤 原因:電腦上安裝了多個版本的jdk 解決:將該項目的jdk刪除 在導入的項目上右擊->properties->Java Bulid Path->Libraries 將jdk刪除 -> Apply and close。 之後再在導入的項目上右擊->properties->Java Bulid Path->Li
相關文章
相關標籤/搜索