logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

java.lang.IllegalArgumentException: Invalid character found in the request target.

在Spring Boot应用中,当GET请求的URL中包含方括号[]等特殊字符时,可能会触发java.lang.IllegalArgumentException: Invalid character found in the request target异常。这是因为Tomcat(默认嵌入式容器)对URL的合规性检查遵循了RFC 7230和RFC 3986,而方括号在这些标准中是不允许的。

#java#firefox#开发语言
Cause: java.sql.SQLException: Out of sort memory, consider increasing server

查询较多数据 排序的时候报:Cause: java.sql.SQLException: Out of sort memory, consider increasing server异常。调整sort_buffer_size 大小 试一下 如果不能解决问题。后面跟 DATE_FORMAT()函数有可能影视索引和排序缓存。就要看sql问题尝试 优化sql。用命令查看排序缓存区大小。

文章图片
#java#开发语言
-bash: jmap: command not found”

Centos 虚拟机中 无法使用jmap命令 报错“-bash: jmap: command not found”yum install -y java-1.8.0-openjdk-devel-debug安装jmapyum -y whatprovides ‘*/jmap’bin切换到安装目录下,发现已经有jmap了jmap 命令验证验证jmap是否可用...

#java
到底了