Even if I have checked this post and try the solution on it, the problem is still there.
Java compiler level does not match the version of the installed Java project facet. Project-name Unknown Faceted Project Problem (Java Version Mismatch)