后端 第12页
Hexo报错ERR_INVALID_URL解决-Ddmit

Hexo报错ERR_INVALID_URL解决

Hexo静态博客生成页面时报错 TypeError [ERR_INVALID_URL]: Invalid URL: https://ip访问:重定向到https://tdom.ml(跳转的时候浏览器可能提示不安全是正常的) 也就是将md文件中的所有连接都检...
ddmit的头像-DdmitDdmit4年前
015330
Springboot上传文件报错:the temporary upload location is not valid-Ddmit

Springboot上传文件报错:the temporary upload location is not valid

Springboot上传文件报错 Failed to parse multipart servlet request; nested exception is java.io.IOException: The temporary upload location [/data/upload_tmp/work/Tomcat/localhost/ROO...
ddmit的头像-DdmitDdmit4年前
011650
SQL SERVER连接Secure Sockets Layer (SSL) 错误-Ddmit

SQL SERVER连接Secure Sockets Layer (SSL) 错误

今天java项目连接sql server突然连接不上了,报如下错误: com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Se...
ddmit的头像-DdmitDdmit4年前
015390
SQL根据查询结果更新数据-Ddmit

SQL根据查询结果更新数据

一、SQL SERVER 情形1:根据关联字段更新 UPDATE Table_A SET Table_A.col1 = Table_B.col1, Table_A.col2 = Table_B.col2 FROM Some_Table AS Table_A INNER JOIN Other_Table AS Table_B ON Ta...
ddmit的头像-DdmitDdmit4年前
017260
Java中Base64类型的字符串与图片的相互转换-Ddmit

Java中Base64类型的字符串与图片的相互转换

使用Html5绘制图表,前端返回的是Base64字符串,如果想在后台将Base64字符串转换为图片,保存在本地,在Java中经常需要做如下处理,下文介绍了Base64字符串与图片的相互转换过程。 具体Java代码...
ddmit的头像-DdmitDdmit4年前
016230
将时长格式化为友好的可读格式-Ddmit

将时长格式化为友好的可读格式

将Java中的时长(long型毫秒)等格式,转换为方便查看的时间格式(经过时长多少天、多少小时、多少分钟)。 /** * 将时间转换为天、小时、分钟 * * @param duration 时长(毫秒) * @return 格式化 ...
ddmit的头像-DdmitDdmit4年前
013420
Spring Boot各个版本修改文件上传大小限制-Ddmit

Spring Boot各个版本修改文件上传大小限制

Springboot上传文件报错信息如下: Maximum upload size exceeded; nested exception is java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.impl.FileSizeLimitExceede...
ddmit的头像-DdmitDdmit4年前
016230
Redis安全模式-Ddmit

Redis安全模式

本文档从Redis的角度介绍了安全性主题:涵盖了Redis提供的访问控制,代码安全性问题,可以通过选择恶意输入从外部触发的攻击以及其他类似主题。 对于与安全性相关的联系人,请在GitHub上打开一...
ddmit的头像-DdmitDdmit4年前
015880
Spring Boot中配置logback打印mybatis日志-Ddmit

Spring Boot中配置logback打印mybatis日志

方式1 配置如下: logback-spring.xml <?xml version='1.0' encoding='UTF-8'?> <!-- scan 配置文件如果发生改变,将会被重新加载 scanPeriod 检测间隔时间--> <configuration s...
ddmit的头像-DdmitDdmit4年前
027840
tk.mybatis分页插件PageHelper多表嵌套关联查询分页出错问题解决-Ddmit

tk.mybatis分页插件PageHelper多表嵌套关联查询分页出错问题解决

其实Mybatis-PageHelper插件官方文档上已经有说明不支持嵌套结果的映射。但是可以采用子查询的方式间接实现支持。 修改前: <resultMap type='com.ruoyi.system.domain.SysProcessDef' id='S...
ddmit的头像-DdmitDdmit4年前
018000