java myeclipse The type java.lang.CharSequence cannot be resolved. It is indirectly referen

myeclipse  The type java.lang.CharSequence cannot be resolved. It is indirectly referen

因为jdk和jre版本不一样导致的

解决方法,右击项目,选择propreties->java build path->Libraries->Add Library->JRE System Library,

Execution environment和alternate JRE的版本一样就可以了,如图所示:

java myeclipse The type java.lang.CharSequence cannot be resolved. It is indirectly referen_第1张图片

你可能感兴趣的:(java)