Wesley13 Wesley13
3年前
java采坑之路
判断相等字符串判断相等        String str1  null;        String str2  "java金融";       // str1.equals(str2);  错误的写法        str2.equals(str1); // 常量写前面        Objects.equ
Stella981 Stella981
3年前
Shiro踩坑记(一):关于shiro
一)问题描述:我在一个Spring的项目中使用shiro搭建权限控制框架。主要通过shirospringbootwebstarter包快速集成Shiro。但是项目无法启动,报没有authorizer的bean的错误:Nobeannamed'authorizer'available
Stella981 Stella981
3年前
Hyperledger Fabric 1.4.6网络搭建实例(raft)
HyperledgerFabric1.4.6网络搭建实例(raft)近期在帮其他部门搭建fabric测试网络,采用1.4.1的配置文件、1.4.6的核心模块,在创建通道的时候爆出了以下错误:Error:gotunexpectedstatus:BAD_REQU
Wesley13 Wesley13
3年前
Python爬虫
1\.爬一下知乎importrequestsurl'http://www.zhihu.com/'resrequests.get(url).textprint(res)结果:直接访问发现返回400错误E:\\360Downloads\\Python36\\python3.exeE:/work/ya
Easter79 Easter79
3年前
Swagger如何测试Date类型参数
问题Swagger测试时,参数直接输入日期格式化后的类型,会报参数日期转换错误:ConversionFailedException解决网上说在参数上添加注解@DateTimeFormat(pattern“yyyyMMdd”)或者是添加@JsonFormat(pattern”yyyyMMddHH:mm:
Stella981 Stella981
3年前
Redis 的监控指标有哪些?别说你不知道!
监控指标•性能指标:Performance•内存指标:Memory•基本活动指标:Basicactivity•持久性指标:Persistence•错误指标:Error性能指标:Performance!(https://oscimg.oschina.net/oscnet/upd536aa6949457e7
Wesley13 Wesley13
3年前
Cisco配置发送日志到日志服务器
Cisco配置发送日志到日志服务器logging133.3.3.2loggingonloggingtrap7 //指定日志消息的级别(0:紧急(Emergencies)1:告警(Alerts)2:严重的(Critical)3:错误(Errors)4:警告(Warnings)5:通知(Notifications)6:信
Stella981 Stella981
3年前
Nginx配置参数中文详细说明
Nginx配置参数中文详细说明定义Nginx运行的用户和用户组userwwwwww;nginx进程数,建议设置为等于CPU总核心数.worker_processes8;全局错误日志定义类型,debug|info|notice|
Wesley13 Wesley13
3年前
unity使用多线程下载时,删除正在下载的文件时候报如下错误
!(https://imgblog.csdnimg.cn/20201020195548792.png)错误原因:下面代码 ,正在操作下载文件流fsFile.OpenWrite(filePath);而此时,你又想使用下面代码,删除正在下载的文件File.Delete(vd.l
Linux下如何使用perf/gdb/pstack分析性能与问题排查
在Linux系统中,perf、gdb和pstack是三个常用的性能分析和问题排查工具。它们可以帮助开发人员找到和解决应用程序中的性能问题和错误。