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 your project is imported as an existing maven project then --> Just right click on project and do maven update. It resolved my similar issue.