Eclipse faceted project metadata file could not be read
Right click the project in eclipse and go to Project Facets and change the java or the corresponding Project Facets to the version that it was developed.
Right click the project folder --> Properties --> Project Facets --> Change java version or tick the required module choosing the version.
I resolved it this time by re-importing the Maven project. This recreated the .settings directory and eliminated the error.
I resolved it this time with Right click --> Project --> Properties --> Target Runtimes --> tick the required runtime. In my case no runtime was selected.