logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

java: 程序包javax.crypto不存在

1、指定jar路径 注意linux下用:<build><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId></plugin>...

Docker 安装vim Depends: libtinfo5 (>= 6) but it is not going to be installed

Depends: libtinfo5 (>= 6) but it is not going to be installed版本过低,更新1、apt update && apt install -y libtinfo5 --allow-remove-essential2、apt-get -y install vim

#docker#vim
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

替换${java_home}/jre/lib/security/ 下面的local_policy.jar和US_export_policy.jar即可。下载后解压,可以看到local_policy.jar和US_export_policy.jar以及readme.txt,客户端和服务端SSL协议版本不一致。我的本机是jdk 8 ,最终通过替换本机jdk jar解决。

文章图片
#ssl#网络协议#网络
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

替换${java_home}/jre/lib/security/ 下面的local_policy.jar和US_export_policy.jar即可。下载后解压,可以看到local_policy.jar和US_export_policy.jar以及readme.txt,客户端和服务端SSL协议版本不一致。我的本机是jdk 8 ,最终通过替换本机jdk jar解决。

文章图片
#ssl#网络协议#网络
Docker容器安装Vim

1、Docker ps 查看容器id2、docker exec -it xxxxx /bin/bash(或者ps名称)docker exec -it mysql8.0 /bin/bash3、后面命令在容器中操作备份:cp /etc/apt/sources.list /etc/apt/sources.list.bak4 、更换163的镜像echo 'deb http://mirrors.163.co

#docker#vim
vue.js 刷新后404问题

问题说明:vue router  mode 默认为hsas, 这样的url中带有#,让有强迫症的人很不爽,如果修改?const router = new Router({mode: 'history',    routes,    strict: process.env.NODE_ENV !== 'production',});爽了,但一刷新,就会404,为什么,因为本地路径中没有这个真实资源存在

到底了