---
title: "The type java.lang.Object cannot be resolved.问题"
author: "wnzz95391511"
date: "2009-05-06T18:26:30Z"
tags: ["Blog", "Eclipse", "Java"]
slug: "the-type-java-lang-object-cannot-be-resolved"
draft: false
lastmod: "2009-05-06T18:28:04Z"
id: 380301
url: "https://perfectlife.iteye.com/blog/380301"
---

不知道怎么回事，Eclipse中我的项目中的一个java文件报如下错误：

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

```

网上解决办法：
**
将JRE先remove掉，然后重新引入JRE即可。
(Project->properties->Java Bulid Path )
**
用此方法是解决了，还是不知道是啥原因~ :o 

 本文解决办法转自： http://guojie.blog.51cto.com/59049/48106