报错:NoSuchAlgorithmException: Algorithm HmacSHA1 not available
报错:NoSuchAlgorithmException: Algorithm HmacSHA1 not available
有个项目需要部署到Linux上运行,其中使用到了MongoDB链接并添加了用户和密码,项目在Win环境运行没有问题。放到Linux上之后,一直报错用户名或密码不对。多次调试Win环境没问题,一到Linux就报错,(报错信息角落:NoSuchAlgorithmException: Algorithm HmacSHA1 not available
不太容易注意到)。
解决方法:
在windows下打开目录$JAVA_HOME/jre/lib/ext/,找到sunjce_provider.jar,然后复制到linux下对应的目录即可。
报错:NoSuchAlgorithmException: Algorithm HmacSHA1 not available相关推荐
- md5withrsa java_浏览器运行java插件报错:Algorithm constraints check failed: MD5withRSA
今天使用kvm管理机房机器的时候发现一只连不上,报以下错误: sun.security.validator.ValidatorException: PKIX path validation faile ...
- 记录一次wagon报错Failed to execute goal org.codehaus.mojo:wagon-maven-plugin:1.0:upload-single
记录一次wagon报错Failed to execute goal org.codehaus.mojo:wagon-maven-plugin:1.0:upload-single (default-cl ...
- CentOS8 解决SSH Secure Shell 报错 Algorithm negotiation failes
今天新服务器版本已经到了CentOS8,但是SSH Secure Shell还是多年前的3.2.9,所以在连服务器时遇到标题中的报错.这个问题很悲剧,浪费了我很多时间. 网上解决这个问题的博文非常非常 ...
- tensorflow卷积报错Failed to get convolution algorithm. This is probably because cuDNN failed t
tensorflow卷积报错Failed to get convolution algorithm. This is probably because cuDNN failed t 说明:环境是ten ...
- 前后端分离报错The Token’s Signature resulted invalid when verified using the Algorithm: HmacSHA256
框架spring boot+shiro+jwt.验证token的时候报错如标题,经检查发现,前端传的token是 "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9. ...
- Jenkins 插件 地址证书报错问题解决思路
问题提示摘要: SunCertPathBuilderException: unable to find valid certification path to requested target ... ...
- 《一起学习rgbdSLAM》中g2o部分报错的问题
<一起学习rgbdSLAM>中g2o部分报错的问题 在高博的<一起学习rgbdSLAM>第六讲中使用到了g2o工具.但是由于版本问题,按照高博的写法来编写代码在编译过程中会报错 ...
- asp.net使用post方式action到另一个页面,在另一个页面接受form表单的值!(报错,已解决!)...
asp.net使用post方式action到另一个页面,在另一个页面接受form表单的值!(报错,已解决!) 原文:asp.net使用post方式action到另一个页面,在另一个页面接受form表单 ...
- Vue开启Gzip打包异常:webpack打包报错Cannot read property ‘emit‘ of undefined
Vue开启Gzip打包异常:webpack打包报错Cannot read property 'emit' of undefined 相关代码 const CompressionPlugin = req ...
最新文章
- 女子质疑无限极产品致女儿心肌损害:将继续维权讨说法
- TeeChart.Direct2D.dll的使用
- 手机1像素线粗_小米1亿像素手机配置全曝光:史上最炫酷呼吸灯!
- bootstrap去掉表格边框
- 测试抽象类和模板方法模式
- Python+OpenCV:K-Means聚类
- Netflix:如何打造开放协作的实时 ETL 平台?
- [C++] intptr_t
- 文件处理技巧,如何快速复制并覆盖已存在的文件
- 时钟芯片S35390A
- DSP TI6657 执行pdkProjectCreate.bat问题解决办法
- EXCEL----数据处理(二)----B列中包含了A列的项
- L1-040. 最佳情侣身高差
- MPLS多协议标签交换技术
- Unity 2021连接外网数据库,建表,增删改查遇到的问题记录
- 滴水穿石 C#中多线程 委托的使用
- JAVA 开发规范标准(集合)
- Social Network之缘分
- LostRoutes项目日志——玩家飞机精灵Fighter解析
- mysql查询手机号码后四位,前几位怎么写?