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#开发语言
springboot连接Doris出错:Unknown System variable ‘performance_schema‘原因

解决:将引入的mysql-connector-java版本改为8.0.11,就好了,试了下8.0.17、8.0.19版本都不行;或者将驱动改为com.mysql.jdbc.Driver,引入的mysql-connector-java版本改为5.xx也可以。

#spring boot#java#数据库
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#开发语言
-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
到底了