主题 : 系统报错 |
级别: 秀才
|
21# 发表于:2020-04-27 17:16:24 IP:124.213.*.*
|
||||
---|---|---|---|---|---|
级别: 秀才
|
23# 发表于:2020-04-27 17:39:43 IP:124.213.*.*
回复第22楼 我看了下context.xml中模板配置路径,配置内容如下:
<!-- 模板读取方式,本地读取默认为空即可,远程模板读取(需要配合application.properites文件中freemarker.resources.type配置项为ftp)配置值为具体模板文件访问域名,如https://jeecms.com/ --> <property name="templateLoaderPath" value="#{propertyUtils.getPropertyValue('freemarker.templateLoaderPath')}"/> 但是application.properites文件中freemarker.templateLoaderPath的值没有,只是个这样的配置freemarker.templateLoaderPath= 我是不是应该在等号右边填写上模板的具体路径呢?模板是spring.ftl对吗? |
||
---|---|---|---|
级别: 论坛管理员
|
24# 发表于:2020-04-27 17:45:28 IP:117.128.*.*
不是的 他哪个是您配置的对应页面模板的标签有误 这个可能是因为项目读取的都是默认的路劲 默认的路劲和对应的内容不符合导致的 建议您去后台对应的栏目和内容配置下模板
|
||
---|---|---|---|