在window系統下沒問題。部署到linux下面出現這個問題
需要注意配置
spring.thymeleaf.prefix=classpath:/templates/
這裏已經有斜線了 引入模板的時候不需要再加了
<head th:replace="common/head::head"> </head>
common爲目錄templates下面的
在window系統下沒問題。部署到linux下面出現這個問題
需要注意配置
spring.thymeleaf.prefix=classpath:/templates/
這裏已經有斜線了 引入模板的時候不需要再加了
<head th:replace="common/head::head"> </head>
common爲目錄templates下面的
如果用的是 添加了order以後發現 如果沒有查詢條件的情況下 拼接了where 把where去掉就好了 SELECT * FROM user ${ew.sqlSegment}