logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

VScode 中 code runner 插件乱码问题

安装好,code runner 插件,可以很方便的运行多种语言的文本,但是提示和输出经常会报错进入 File - > Preference -> setting, 然后在输入框搜索 settings.json 文件,选择编辑,然后在右边user setting 中增加即可"code-runner.runInTerminal": true,如图所示:如果需要执行j...

#vscode
java rsa 解密用PKCS8 格式报java.security.spec.InvalidKeySpecException: Only RSAPublicKeySpec and X509Encod

Exception in thread "main" java.security.spec.InvalidKeySpecException: Only RSAPublicKeySpec and X509EncodedKeySpec supported for RSA public keys at sun.security.rsa.RSAKeyFactory.generatePu

#java
fiddler 抓包工具配置https

(4)下载?FiddlerCertMaker.exe,可以去官网找,如不想麻烦,直接下载我提供的,链接如下:链接: https://pan.baidu.com/s/1bQBhxG 密码: cu85下载了这个之后,直接打开,不管出现什么错误,直接忽略,直到出现如下界面为止:然后点击确定,关掉它。(5)有了证书之后,请重启Fiddler(关掉再开),重启之后,访问https的网站,比如淘宝首页,有可能

#https
httpclient 在http1.1下出现 Connection can be kept alive indefinitely , 出现长连接,返回异常

httpclient 在http1.1下出现 Connection can be kept alive indefinitely , 出现长连接,返回异常参考:https://blog.csdn.net/xiaoduanayu/article/details/78386508

#http
java rsa 解密 报:javax.crypto.IllegalBlockSizeException: Data must not be longer than 117 bytes

Exception in thread "main" javax.crypto.IllegalBlockSizeException: Data must not be longer than 117 bytes    at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:344)    at com.sun.cr

#java
java keytool 工具生成https 证书指令

打开java bin目录, 打开命令行1.输入keytool 会弹出提示帮助命令2. 输入keytool -genkeypair -help 弹出生成密钥对的帮助keytool -genkeypair -alias "test1" -keyalg "RSA" -keystore "test.keystore"创建一个别名为test1的证书

#https#java
java rsa 解密报:javax.crypto.BadPaddingException: Decryption error

Exception in thread "main" javax.crypto.BadPaddingException: Decryption error    at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380)    at sun.security.rsa.RSAPadding.unpad(RSAPaddi

#java
springboot 启动报错: Multiple Dockets with the same group name are not supported. The following duplicat

报错详情org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.IllegalStateException: Multiple Dockets with the sam

#spring boot#java
java 时间字符串中带 “AM“ 或 “PM“ 等指示上半天,下半天标识的解析

java 时间字符串中带 “AM” 或 “PM” 等指示上半天,下半天标识的解析AM/PM解析时,必须切换为 英语环境/*** 时间带 AM/PM 标识*/public void testDate() {String date1 = "2/23/2021 10:01:24 AM";//DateTimeFormatter settleTimeFormatter = DateTimeFormatter

#java
Bean named 'defaultSockJsTaskScheduler' is expected to be of type 'org.springframework.scheduling.

错误详情:springboot + quartz + websocket (spring 自带得websocket 模块) 引起的冲突问题contextLoads(com.kzcm.higo.HigoApplicationTests)Time elapsed: 0.033 s<<< ERROR!java.lang.IllegalStateException:...

#websocket
    共 13 条
  • 1
  • 2
  • 请选择