![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JAVA
只吃肉不喝血
这个作者很懒,什么都没留下…
展开
-
修改es配置--“max_result_window“
1.查询es配置:curl -XGET xx.xx.xx.xx:9200/index/_settings2.修改"max_result_window"配置curl -H “Content-Type:application/json” -XPUT xx.xx.xx.xx:9200/index/_settings -d ‘{“index.max_result_window”:“100000”}’原创 2021-06-08 10:33:11 · 1562 阅读 · 0 评论 -
解决com.alibaba.fastjson.JSONException: autoType is not support. xs:string问题
解决com.alibaba.fastjson.JSONException: autoType is not support. xs:string问题产生原因:由于公司漏洞扫描,fastjson在反序列化时存在漏洞,可导致远程任意代码执行,fastjson版本需要升级;升级fastjson的版本后,禁用了部分autotype的功能,由于反序列化对象时,需要检查是否开启了autotype。所以如果反序列化检查时,autotype没有开启,就会报错。解决办法:开启autotype:添加JVM启动参数:-原创 2021-06-03 10:57:29 · 402 阅读 · 0 评论