Something has happened on my eclipse beacause before my projects hade like pom.xml files and docker files and other files but now they have disappeared and even when I create a new project or import the pom.xml does not show.
Check your OS File Explorer (or do command-line directory listing) and see if the files have somehow been deleted (Eclipse should not delete anything you don't tell it to delete), Some Eclipse Views may simply not display "uninteresting" files, however, so you may have been using one of them.
Got idle CPU cycles? Join the war on COVID-19 by donating them to find the coronavirus' weak spots. folding@home Runs in the background. https://foldingathome.org