In my case I was using a Gradle project, and the packages did not show up. Deleting the entire project on disk and re-importing it did not solve the issue. To solve the issue, I executed the Gradle task named eclipse
, which is part of the Eclipse Plugins and can be seen in the image below.