写入<span th:text="'共'+ ${page.total} +'条数据'"></span>语句后报错了

<div class="row mt-3">
                                    <div class="col-sm-6">
                                        <span class="align-middle">
                                            <span th:text="'共'+ ${page.total} +'条数据'"></span>
                                            ,每页显示
                                            <select>
                                                <option>10</option>
                                                <option>10</option>
                                                <option>10</option>
                                            </select>条数据
                                        </span>
                                    </div>

写入语句后报错了
2021-12-30 15:59:08.770 ERROR 11164 --- [nio-8080-exec-3] s.e.ErrorMvcAutoConfiguration$StaticView : Cannot render error page for request [/customer/customer_list] and exception [An error happened during template parsing (template: "class path resource [templates//customer/customer_list.html]")] as the response has already been committed. As a result, the response may have the wrong status code.

是为什么

page是否为空?传递过来没有呢