- 博客(6)
- 收藏
- 关注
原创 java线程异常退出,如何捕获异常信息
例子 Thread thread = new Thread(() -> { System.out.println("thread in"); int res = 1 / 0; System.out.println("thread out"); }); thread.start(); thread.setUncaughtExceptionHandler((t,e) ->
2020-07-14 11:37:30
574
原创 javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
建立连接时异常: handshake_failure排查问题第一步:1)首先在idea的 Run -> Edit Configrations增加-Djavax.net.debug=all可以按照下图保存文件。2)开始请求查看文件或者控制台main, WRITE: TLSv1.2 Handshake, length = 217 #客户端发送[Raw write]: length = 22 main, READ: TLSv1.2 Alert, length = 2 #服务端 ma
2020-06-29 17:58:22
2535
原创 httpclient返回400
注:只是解决本问题的方法,具体场景具体分析。背景:第三发要求替换域名,替换后就报400报错如下:HttpResponseProxy{HTTP/1.1 400 Bad Request [Date: Mon, 29 Jun 2020 07:59:53 GMT, Content-Type: application/json, Content-Length: 137, Connection: keep-alive, X-Frame-Options: DENY, Strict-Transport-Securi
2020-06-29 17:45:14
2194
原创 data tables checkbox实现
1、前端代码在这里 <table id="project_list" class="table table-bordered table-striped" width="100%" > <thead> <tr> <th width="5%"><input
2020-05-19 19:05:21
300
原创 Error attempting to get column 'order_time' from result set. Cause: java.sql.SQLFeatureNotSupported
问题现象:报错:Error attempting to get column ‘order_time’ from result set. Cause: java.sql.SQLFeatureNotSupportedException; ]; null依赖:org.mybatis.spring.bootmybatis-spring-boot-starter2.0.1因为druid...
2020-05-07 12:43:14
1775
原创 使用HttpClient工具调用接口的示例
1、首先要注意引入的包dependency> groupId>commons-httpclientgroupId> artifactId>commons-httpclientartifactId> version>3.1version> dependency> dependency> groupId>net.sf.json-li
2017-10-09 19:18:08
5591
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人