#项目目录
ChestnutCMS
chestnut-admin
...
# wwwroot_release目录结构参考
wwwroot_release
swikoon
resources
image
swikoon_pc
template
index.template.html
js
css
<!-- Windows win64 -->
<dependency>
<groupId>ws.schild</groupId>
<artifactId>jave-nativebin-win64</artifactId>
<version>3.3.1</version>
</dependency>
<!-- Mac osx64 -->
<dependency>
<groupId>ws.schild</groupId>
<artifactId>jave-nativebin-osx64</artifactId>
<version>3.3.1</version>
</dependency>
如果你部署的redis没有设置密码,把application-xx.yml中的redis密码配置删掉(敲重点:不是把密码配置成空,是把密码配置删掉,整行都删掉!!!)
data:
redis:
# 地址
host: 127.0.0.1
# 端口,默认为6379
port: 6379
# 数据库索引
database: 0
# 密码
password: b18a03 # 这一行直接删掉不要了!!!!!!!!!!
1.3.25之前的版本仅支持redis5.x和redis6.x版本!!!1.3.25版本开始支持redis7+!!!
ERROR c.c.c.s.e.h.GlobalExceptionHandler - [handleRuntimeException,86] - 请求地址'/cms/publish/taskCount',发生未知异常.
org.springframework.dao.InvalidDataAccessApiUsageException: Unexpected exception while processing command
at org.redisson.spring.data.connection.RedissonExceptionConverter.convert(RedissonExceptionConverter.java:52)
at org.redisson.spring.data.connection.RedissonExceptionConverter.convert(RedissonExceptionConverter.java:35)
at org.springframework.data.redis.PassThroughExceptionTranslationStrategy.translate(PassThroughExceptionTranslationStrategy.java:40)
at org.redisson.spring.data.connection.RedissonConnection.transform(RedissonConnection.java:208)
移除application-xxx.yml中ES访问配置:
spring:
elasticsearch:
uris: http://127.0.0.1:9200
username: xxxxxx
password: yyyyyy
在application-xxx.yml中添加如下配置关闭ES健康状态检查:
management:
health:
elasticsearch:
enabled: false
系统全文检索基于ES实现,关闭后无法使用检索功能
在后台找到国际化管理菜单(位于系统管理菜单下),点击刷新缓存按钮。