Java.报错:The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files

The type java.lang.CharSequence cannot be resolved

这个错误一般是由于需要JDK1.8, 但Eclipse或MyEclipse版本过低(本例中是MyEclipse6.0, 欲使用JDK1.8)

 

 

解决办法:升级MyEclipse, 或改用Eclipse

posted @ 2020-01-17 23:13  幻河  阅读(1107)  评论(0编辑  收藏  举报