Java project in Eclipse: The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
This is an annoying Eclipse Bug which seems to bite now and then. See http://dev-answers.blogspot.de/2009/06/eclipse-build-errors-javalangobject.html for a possible solution, otherwise try the following;
Close the project and reopen it.
Clean the project (It will rebuild the buildpath hence reconfiguring with the JDK libraries)
OR
Delete and Re-import the project and if necessary do the above steps again.
The better cure is to try NetBeans instead of Eclipse :-)
java.lang.Object cannot be resolved
- Right click on project
- Build path
- Configure build path
- Select the Libraries tab, you should see the Java 1.8 jre with an error
- Select the java 1.8 jre
- Click the Remove button
- Add Library
- Add JRE System Library > Next > workspace default > Finish
Eclipse error: indirectly referenced from required .class files?
It means: "A class that you use needs another class that is not on the classpath." You should make sure (as Harry Joy suggests) to add the required jar to the classpath.
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files android studio
In my case, I updated greendao-gradle-plugin 3.2.2 to 3.3.0,Then , It resolved magically.
My screenshot
Related Topics
H2 In-Memory Database. Table Not Found
"Java.Lang.Outofmemoryerror:Unable to Create New Native Thread"
Proper Hibernate Annotation for Byte[]
How to Add Hyperlink in Jlabel
El Access a Map Value by Integer Key
How to Exclude All Instances of a Transitive Dependency When Using Gradle
How to Find Nth Occurrence of Character in a String
What Causes "Unable to Access Jarfile" Error
What Is the Regex to Extract All the Emojis from a String
Ideal Method to Truncate a String with Ellipsis
Bypass Generatedvalue in Hibernate (Merge Data Not in Db)
Get Variable by Name from a String
How to Inject Authenticationmanager Using Java Configuration in a Custom Filter
Precise Definition of "Functional Interface" in Java 8
Java: How to Do Dynamic Casting of a Variable from One Type to Another