When I try to use ctrl+space this error is shown:
ctrl+space
This compilation unit is not on the build path of a Java project.
I see tha
If it is a Maven project then sometimes re-importing of it helps:
Hope it will resolve the issue.