The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files

右击项目->Java Build Path->Libraries->Add Library...->JRE System Library

选择MyEclipse自带JRE。。

好了,bug没了。。

posted @ 2016-07-27 18:06  lhb_solo  阅读(2233)  评论(0编辑  收藏  举报