![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
中间件
文章平均质量分 58
雪中鱼01
所谓专家,就是在一个很小的领域里把所有的错误都犯过了的人
展开
-
Mac上搭建ELK
本篇翻译自此篇博客https://medium.com/@pablo_ezequiel/installing-elk-stack-on-osx-74b132ad1498https://links.jianshu.com/go?to=https%3A%2F%2Fmedium.com%2F%40pablo_ezequiel%2Finstalling-elk-stack-on-osx-74b132ad1498已经授权,你也可以参考https://blog.csdn.net/ywheel1989/artic翻译 2022-05-23 14:56:49 · 766 阅读 · 0 评论 -
Django-链接数据库时遇到AttributeError: module ‘djongo.models‘ has no attribute ‘ListField‘
1.问题最开始查询看到说是要把djongo降到1.3.2版本。于是改成djongo==1.3.2改了以后又报新的错误了。django.core.exceptions.ImproperlyConfigured: 'django-pyodbc-azure' isn't an available database backend.Try using 'django.db.backends.XXX', where XXX is one of: 'mysql', 'oracle', 'po原创 2021-12-31 14:04:58 · 1421 阅读 · 0 评论 -
验证码生成 EasyCaptcha
验证码生成 EasyCaptchaJavaWeb图形验证码,支持gif验证码,可用于基于的session的web项目和前后端分离的项目。源码地址:https://gitee.com/jeesys/EasyCaptcha/一、引入依赖引入EasyCaptcha<dependency> <groupId>com.github.whvcse</groupId> <artifactId>easy-captcha</artifac.原创 2021-11-15 13:33:10 · 1211 阅读 · 0 评论 -
‘The client noticed that the server is not a supported distribution of Elasticsearch‘ 报错及解决办法
django项目运行的好好的,突然接口查询错误。观察报错信息{ "code": 400102, "message": "请求错误", "data": { "detail": "The client noticed that the server is not a supported distribution of Elasticsearch" }}搜索百度无果,随搜索谷歌查询到新闻链接链接如下:https://www.there原创 2021-08-11 13:16:49 · 6392 阅读 · 0 评论 -
多节点服务器定时任务重复处理的几种方案
1.使用zookeeper做分布式锁@Componentpublic class MutexConfig { @Value(value = "${zookeeper.host}") private String zkHost; public Boolean getLock(String lock, Integer acquireTime, Integer sleepTime) throws Exception { RetryPolicy retryPolicy = new Expone原创 2021-05-07 18:16:45 · 1847 阅读 · 0 评论