java.sql.SQLFeatureNotSupportedException解决方法

Q&A 

使用MyBatis访问数据库查询数据时报错:java.sql.SQLFeatureNotSupportedException。 详细错误信息如下: Caused by: java.sql.SQLFeatureNotSupportedException at com.alibaba.druid

Lombok类上加@Builder注解报错:实际参数列表和形式参数列表长度不同

Q&A 

在IDEA中使用Lombok插件后,可以极大方便我们的开发。 在类上加@Builder注解后,类就可以使用建造者模式,比如:

使用Nginx代理https到Tomcat,后端request.getRequestURL()获取不到https开头的链接

Q&A 

在网站改为https后,后台tomcat实际访问的地址为http,在某些场景下会有问题。 解决方法如下: 1、nginx的location块中增加配置 内容如下: proxy_set_header X-Forwarded-Proto $scheme;

There was an unexpected error (type=Not Found, status=404). /WEB-INF/jsp/index.jsp问题解决

Q&A 

SpringBoot集成JSP时遇到如下问题: There was an unexpected error (type=Not Found, status=404). /WEB-INF/jsp/index.jsp。 项目结构如下:

SpringBoot上传文件:the request was rejected because its size (11601865) exceeds the configured maximum


springboot上传文件时报错: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (116018

SpringBoot使用FastJson后,接口返回中文乱码的问题解决


springboot 中,使用fastjson替换jackson ,接口返回出现乱码,解决方法如下: @Bean public HttpMessageConverters fastJsonHttpMessageConverter() { FastJsonHttpMessageConverte

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

Q&A 

最近线下调试银联支付时报错: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.