After updating my Eclipse to version 2021-03, along with JDK 1.8 and Tomcat 9, I encountered an issue with a CSS error in the html file. The error specifically points to ". {" and displays "identifier expected". Interestingly, when I close the file, the error marker disappears.
body {
padding-top: 40px;
padding-bottom: 40px;
background-color: #f5f5f5;
}
. {
max-width: 370px;
padding: 1px 1px 1px;
background-color: #fff;
border: 1px solid #e5e5e5;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
box-shadow: 0 1px 2px rgba(0,0,0,.05);
}