The type java.lang.Object cannot beresolved.It is indirectly referenced from required .class files 上面错误是因为jdk版本比较高造成的,将jdk版本换为低版本即可。如下图: jdk1.8会报错,改为1.6就OK了!!!