1. Check Project Java Build Path
2.Update Installed JREs in Eclipse
3. Project Compiler Compliance Level
4. Check Source and Target Compatibility
5. Restart Eclipse/Refresh Workspace
6. Check for Errors in Problems View
7. Update Content Assist Settings