04 2020 档案

摘要:文章转载于 https://www.cnblogs.com/lailailai/p/4528092.html 下面转的两篇文章分别说明了以下两个概念和一些解决方法: 1. CSRF - Cross-Site Request Forgery - 跨站请求伪造 2. CORS - Cross Origi 阅读全文
posted @ 2020-04-30 11:31 o_osky 阅读(338) 评论(0) 推荐(0)
摘要:在springboot项目中,需要使用RedisTemplate类时,提示不能够自动注入, 项目中在引入RedisTemplate类时,引入的jar包依赖为: 1 <dependency> 2 <groupId>org.springframework.data</groupId> 3 <artifa 阅读全文
posted @ 2020-04-16 14:51 o_osky 阅读(1102) 评论(2) 推荐(0)
摘要:在docker内部重启服务 supervisorctl restart all 阅读全文
posted @ 2020-04-15 10:30 o_osky 阅读(151) 评论(0) 推荐(0)
摘要:使用Spring Data Elasticsearch连接elasticsearch时,正常情况下只需要在application.properites文件中添加如下配置即可连接: spring.data.elasticsearch.repositories.enabled = true spring 阅读全文
posted @ 2020-04-08 09:58 o_osky 阅读(1032) 评论(0) 推荐(0)