eclipse中java文件报错:The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files

问题:The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files

Probably means .class file references the wrong, think about the compilation of a problem, JRE problem.

 

 

 Solution:

First in Java Bulid Path in the JRE to remove all out, and then re-introduced into the JRE can be. (Right Project> Build Path> Configure Build Path>)

 

Probably means .class file references the wrong, think about the compilation of a problem, JRE problem.

 

 

 Solution:

First in Java Bulid Path in the JRE to remove all out, and then re-introduced into the JRE can be. (Right Project> Build Path> Configure Build Path>)

 

Guess you like

Origin www.cnblogs.com/nxzblogs/p/11574861.html