
异常
总结梳理并解决一些平常的BUG
图图是个好孩纸~
别人用青春谈恋爱,我用青春调 Bug,这里是被代码 “折磨” 却依然热爱的程序员天地,分享那些一边秃头一边坚持的心酸与收获
展开
-
解决 java.sql.SQLTransientConnectionException 连接超时异常
解决 java.sql.SQLTransientConnectionException 连接超时异常原创 2025-05-06 14:15:53 · 618 阅读 · 0 评论 -
《解决 Java 中 SQLSyntaxErrorException 错误指南》
Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax;原创 2025-04-30 13:41:02 · 297 阅读 · 0 评论 -
A complete log of this run can be found in
A complete log of this run can be found in原创 2023-06-09 10:35:32 · 2286 阅读 · 0 评论 -
解决问题MySql:Error Code: 1153 - Got a packet bigger than ‘max_allowed_packet‘ bytes
Error Code: 1153 - Got a packet bigger than 'max_allowed_packet' bytes原创 2023-06-06 15:06:25 · 975 阅读 · 1 评论 -
MySQLTransactionRollbackException: Lock wait timeout exceeded; try restarting transaction
Cause: com.mysql.cj.jdbc.exceptions.MySQLTransactionRollbackException: Lock wait timeout exceeded; try restarting transaction原创 2023-03-16 16:04:07 · 793 阅读 · 0 评论 -
解决问题:The field file exceeds its maximum permitted size of 1048576 bytes
The field file exceeds its maximum permitted size of 1048576 bytes原创 2023-03-09 11:12:32 · 1447 阅读 · 0 评论 -
解决:重新打开IDEA后代码全部爆红
解决:重新打开IDEA后代码全部爆红原创 2022-11-17 16:46:03 · 1036 阅读 · 0 评论 -
出现软锁:Message from syslogd@localhost at Aug 7 16:05:56 ... kernel:NMI watchdog: BUG: soft lockup-CPU
出现软锁:Message from syslogd@localhost at Aug 7 16:05:56 ... kernel:NMI watchdog: BUG: soft lockup-CPU原创 2022-08-25 11:06:58 · 2686 阅读 · 1 评论 -
解决问题:Caused by: java.lang.IllegalStateException: RequestParam.value() was empty on parameter 0
解决问题:Caused by: java.lang.IllegalStateException: RequestParam.value() was empty on parameter 0原创 2022-07-14 17:13:40 · 456 阅读 · 0 评论 -
解决问题:Parameter 0 of method modifyRequestBodyGatewayFilterFactory inorg.springframework.cloud.gateway
Parameter 0 of method modifyRequestBodyGatewayFilterFactory in org.springframework.cloud.gateway.config.GatewayAutoConfiguration required a bean of type'org.springframework.http.codec.ServerCodecConfigurer' that could not be found.原创 2022-07-13 15:51:29 · 5433 阅读 · 1 评论 -
Caused by: org.yaml.snakeyaml.scanner.ScannerException: mapping values are not allowed here in‘read‘
解决问题:Caused by: org.yaml.snakeyaml.scanner.ScannerException: mapping values are not allowed here in'read'原创 2022-07-13 14:42:29 · 3409 阅读 · 0 评论 -
解决问题:There was an unexpected error (type=Bad Request, status=400)
There was an unexpected error (type=Bad Request, status=400.Validation failed for object='employee'.Error count: 1原创 2022-07-10 12:07:14 · 7412 阅读 · 0 评论 -
解决问题:Causedby:com.mysql.cj.exceptions.InvalidConnectionAttributeException:The server time zone value
Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the 'serverTimezone' configuratio原创 2022-07-10 11:49:39 · 593 阅读 · 0 评论 -
解决问题:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.xshiedu.mapper.NewsDeatilMapper.queryAll原创 2022-07-08 08:59:37 · 231 阅读 · 0 评论 -
解决问题:Consider defining a bean of type ‘com.xxx.mapper.xxxMapper‘ in your configuration.
Consider defining a bean of type 'com.xxx.mapper.xxxMapper' in your configuration.原创 2022-07-07 18:14:22 · 14485 阅读 · 2 评论 -
解决问题:Cannot resolve plugin org.springframework.boot:spring-boot-maven-plugin:2.3.7.RELEASE
解决问题:Cannot resolve plugin org.springframework.boot:spring-boot-maven-plugin:2.3.7.RELEASE原创 2022-07-05 15:42:15 · 7649 阅读 · 0 评论 -
解决问题:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program原创 2022-06-28 16:30:23 · 8054 阅读 · 0 评论 -
The CATALINA_HOME environment variable is not defined correctlyThis environment variable is needed
The CATALINA_HOME environment variable is not defined correctlyThis environment variable is needed原创 2022-06-28 15:48:27 · 10469 阅读 · 0 评论 -
解决问题:JSON parse error: error parse new; nested exception is com.alibaba.fastjson.JSONException
JSON parse error: error parse new; nested exception is com.alibaba.fastjson.JSONException: error parse new]原创 2022-06-27 12:13:45 · 8002 阅读 · 0 评论 -
解决问题:Content type ‘application/x-www-form-urlencoded;charset=utf-8‘ not supported
Content type 'application/x-www-form-urlencoded;charset=utf-8' not supported原创 2022-06-27 11:39:17 · 1347 阅读 · 0 评论 -
解决问题:Caused by:org.apache.http.client.ClientProtocolException:URI does not specify a valid host name
解决问题:Caused by:org.apache.http.client.ClientProtocolException:URI does not specify a valid host name原创 2022-06-23 18:34:04 · 957 阅读 · 0 评论 -
SpringBoot项目启动报错:Field config in com.XXX required a bean of type ‘xxx‘ that could not be found.
项目启动报错:Field config in com.XXX required a bean of type 'com.XXX.xxxconfig' that could not be found.原创 2022-06-21 18:01:58 · 2807 阅读 · 0 评论 -
解决问题:Unable to connect to Redis
解决问题:Unable to connect to Redis原创 2022-06-20 16:49:32 · 16397 阅读 · 0 评论 -
解决问题:通过vmware创建虚拟机,并运行时出现黑屏或黑屏,或者时区修改失败,ip地址无法打开
创建虚拟机时,无法访问到ip或无法切换时间原创 2022-06-18 15:56:21 · 1176 阅读 · 0 评论 -
解决问题:java.lang.NumberFormatException: For input string: ““
java.lang.NumberFormatException: For input string: ""原创 2022-06-18 09:33:05 · 494 阅读 · 0 评论