Reputation: 1
I imported some JTB and JavaCC generated files into Eclipse and there is one line giving me an error - the first line (a comment) most of the class files says "The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files" How do I fix this?
Upvotes: 0
Views: 4895
Reputation: 7838
Have you tried removing and adding the JRE in your project?
Project
-> Properties
Java Build Path
Libraries
TabAdd Library
and add the default JRE againPS: Project
-> Clean
can be very useful, too.
Upvotes: 2