项目中有一个HttpUtil作为客户端,当请求https的时候,会出现:
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
的问题,本文用作者已有的知识认知排查并修复此问题。
项目中有一个HttpUtil作为客户端,当请求https的时候,会出现:
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
的问题,本文用作者已有的知识认知排查并修复此问题。
在项目中遇到了用户Post了json格式的数据给服务器,但是用@RequestBody 并没有注入成功参数;
在某项目中,需要编写单元测试对LDAP工具类进行测试,但是此工具类中依赖了项目的配置文件,此文提供一种编写这种情况下的单元测试方法。