在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}