<div class="alert alert-warning alert-dismissible " aria-hidden="true">
<button type="button" class="close " aria-hidden="true" data-dismiss="alert">×</button>
<strong th:text="${error}"></strong>
</div>
Though I have used aria-hidden="true" the alert keeps showing on the page load as it is shown in the image. Any quick advice please?