在application.properties文件中添加:
spring.data.redis.repositories.enabled=false
本文介绍如何在Spring Boot应用中通过配置application.properties文件来禁用Spring Data Redis的仓库功能,具体操作是在文件中添加一行代码:spring.data.redis.repositories.enabled=false。
在application.properties文件中添加:
spring.data.redis.repositories.enabled=false
1万+
1万+
1万+
9636

被折叠的 条评论
为什么被折叠?