The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
Asked
Active
Viewed 1.1k times
0

spongebob
- 8,370
- 15
- 50
- 83

Aditya Singh
- 63
- 1
- 1
- 12
1 Answers
4
- 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

spongebob
- 8,370
- 15
- 50
- 83

Aditya Singh
- 63
- 1
- 1
- 12