If the auto complete feature is not working in eclipse, then check the below setting in eclipse.
Go to Windows->Preferences->Java->Editor->Content Assist->Advanced and check whether the option "Other Java Proposals(Focused)" is checked or not.
If this option is not ticked, then tick that option. This shall resolve the problem.