Question: project facet java version 1.8 is not supported in sts?
Answer: It is because Java version in your Project Facet is 1.8 make it 1.7. Go to Project Properties -> Project Facets and on right side checkboxes, select java checkbox(It might be already selected) and select the version as 1.7 from dropdown.