后端开发技术的解决方法
文章平均质量分 84
该专栏是用来记录java开发遇到的相关问题,比如java,spring,spring boot,mybatis等。从复现问题到分析问题,再到解决问题,从而做到知其然,知其所以然。
优惠券已抵扣
余额抵扣
还需支付
¥29.90
¥99.00
购买须知?
本专栏为图文内容,最终完结不会低于15篇文章。
订阅专栏,享有专栏所有文章阅读权限。
本专栏为虚拟商品,基于网络商品和虚拟商品的性质和特征,专栏一经购买无正当理由不予退款,不支持升级,敬请谅解。
互联网全栈开发实战
全栈领域优质创作者!
博客专家认证!
本站粉丝30多万!
阅读量破百万!
你的点赞与关注是我创作的动力!
努力创作出优秀的作品来馈赠粉丝!
展开
-
完美解决unknown failed to transfer from http://0.0.0.0/ during a previous attempt的错误
完美解决unknown failed to transfer from http://0.0.0.0/ during a previous attempt的错误原创 2024-07-20 16:02:30 · 8 阅读 · 0 评论 -
完美解决多种情况下的 java.lang.NullPointerException 的异常
完美解决多种情况下的 java.lang.NullPointerException 的异常原创 2024-04-17 11:43:27 · 577 阅读 · 2 评论 -
解决EasyPoi导入Excel获取不到第一列的问题
解决EasyPoi导入Excel获取不到第一列的问题原创 2024-04-16 11:37:51 · 655 阅读 · 1 评论 -
多种方法完美解决 java.lang.IllegalStateException: Duplicate key 2
多种方法完美解决 java.lang.IllegalStateException: Duplicate key 2原创 2024-04-17 11:18:43 · 586 阅读 · 1 评论 -
全网最新版的超详细的xxl_job教程(2023年),以及解决“调度失败:执行器地址为空”的问题
全网最新版的超详细的xxl_job教程(2023年),以及解决“调度失败:执行器地址为空”的问题原创 2023-11-10 11:26:07 · 1320 阅读 · 0 评论 -
idea:解决jsp request.getParameter爆红的问题
idea:解决jsp request.getParameter爆红的问题原创 2023-10-29 15:57:01 · 1695 阅读 · 0 评论 -
org.quartz.SchedulerException: Problem instantiating class ‘com.xxx.CollectionTask‘
org.quartz.SchedulerException: Problem instantiating class ‘com.xxx.CollectionTask‘原创 2023-10-23 17:50:41 · 228 阅读 · 0 评论 -
解决无法访问org.springframework.boot.SpringApplication,类文件具有错误的版本xxx, 应为xxx,请删除该文件或确保该文件位于正确的类路径子目录中。
解决无法访问org.springframework.boot.SpringApplication,类文件具有错误的版本xxx, 应为xxx,请删除该文件或确保该文件位于正确的类路径子目录中。比如无法访问org.springframework.boot.SpringApplication,类文件具有错误的版本61.0, 应为52.0,请删除该文件或确保该文件位于正确的类路径子目录中。原创 2023-06-16 07:39:59 · 3867 阅读 · 0 评论 -
mysql的auto_incremnet操作 解决Invalid default value for ‘xxx‘的问题 查询表结构
在堆mysql数据库创建表时,如果我们把某个属性设置为auto_increment,也就是自动增长,我们在不要某行数数据时,当然是要删除该数据了,但是,有一个问题,摆在我们面前,数据时删除了,而新插入的数据的该属性值,不是在原来的基础上增加的,而是在删除的基础上增加的,这让人很不舒服。此外,如果同时使用default和auto_increment会报出这个问题:Invalid default value for 'xxx'。......原创 2017-12-08 17:18:28 · 1619 阅读 · 0 评论 -
多种方法o.jsonwebtoken.ExpiredJwtException: JWT expired at xxx. Current time: xxx的错误
多种方法o.jsonwebtoken.ExpiredJwtException: JWT expired at xxx. Current time: xxx的错误,比如io.jsonwebtoken.ExpiredJwtException: JWT expired at 2023-04-11T14:59:18+0800. Current time: 2023-04-11T15:16:30+0800原创 2023-04-14 07:31:21 · 3042 阅读 · 0 评论 -
nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for propert
全网多种方法解决nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'xxx' in 'class com.xxx'的错误原创 2023-03-23 07:51:44 · 3045 阅读 · 0 评论 -
一文优化java.lang.StackOverflowError的堆栈溢出问题及递归引发的java.lang.StackOverflowError错误
一文优化java.lang.StackOverflowError的堆栈溢出问题及递归引发的java.lang.StackOverflowError错误。原创 2023-02-15 21:36:34 · 2868 阅读 · 0 评论 -
解决Failed toString() invocation on an object com.alibaba.fastjson.JSONException: write javaBean error
解决 Failed toString() invocation on an object of type [com.superjson.superjsonmanager.config.jwt.JwtProperties$$EnhancerBySpringCGLIB$$3c58badf]和com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.70问题原创 2022-08-19 21:20:41 · 2520 阅读 · 0 评论 -
Content type ‘application/x-www-form-urlencoded;charset=UTF-8‘ not supported的多种解决方法即详细说明content-type
Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported的多种解决方法即详细说明content-type原创 2023-04-02 06:39:28 · 7071 阅读 · 1 评论 -
Error connecting to MySQL: Too many connections(code 1040)的错误解决方法
Error connecting to MySQL: Too many connections(code 1040)的错误解决方法原创 2023-04-10 07:37:16 · 3346 阅读 · 0 评论 -
全网多种方法解决You have an error in your SQL syntax; check the manual that corresponds to your MySQL server
全网多种方法解决java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xxx ) VALUES(xxx)' at line 1原创 2023-04-13 07:40:28 · 37724 阅读 · 0 评论 -
总结POST、GET @RequestBody和@RequestParam区别 There was an unexpected error (type=Bad Request, status=400)
总结POST、GET @RequestBody和@RequestParam区别 和解决There was an unexpected error (type=Bad Request, status=400)原创 2021-02-02 16:10:51 · 3142 阅读 · 0 评论 -
全网详解如何设计数据库的ER图,即实体关系图
全网详解如何设计数据库的ER图,即实体关系图原创 2023-02-06 17:56:24 · 3675 阅读 · 2 评论 -
mysql的SUBSTRING_INDEX 和GROUP_CONCAT
今天在做项目中的一个小模块,就是查询所有项目的应收款。当我拿到这个模块时,并不知道该怎么做?因为刚毕业,没有做过这样的项目,但又不得不做。幸好出生在这个网络信息纷飞的年代,于是通过谷歌来查询解决方法,最终得出了自己的方法。所以,当我们拿到自己没有做过的项目,千万不要说不会做,而是通过工具得出解决方案。 应收款放在变更表中,关联到项目财务科目的id。项目财务表存储的对应的是一期、二期、三期等应收款......原创 2018-08-17 18:21:00 · 4716 阅读 · 0 评论 -
mysql事务 mysql事务回滚 MySQL事务死锁 如何解除死锁 资金出入账
mysql事务;mysql事务回滚;MySQL事务死锁;如何解除死锁;资金出入账:最近使用golang做资金账户,目前涉及到这两个问题:资金入账时,可能存在提现【出账】; 资金提现时,可能存在资金入账。因而,为了保证资金的正确性,这里需要事务操作。......原创 2021-07-29 18:45:05 · 2825 阅读 · 0 评论 -
全网详细解决Client does not support authentication protocol requested by server;consider upgrading Mysql c
全网详细解决1251 - Client does not support authentication protocol requested by server; consider upgrading Mysql client。原创 2023-03-06 07:33:04 · 3759 阅读 · 0 评论 -
解决 ‘Invalid use of NULL value‘ 问题
解决 'Invalid use of NULL value' 问题原创 2022-10-17 10:58:15 · 3672 阅读 · 0 评论 -
解决Data too long for column ‘xxx‘ at row 1问题以及深入理解mysql的字符串数据类型(char,varchar,enum,text,longtext...)
解决Data too long for column 'xxx' at row 1问题以及深入理解mysql的字符串数据类型(char,varchar,enum,text,longtext...)原创 2022-09-29 15:25:45 · 15625 阅读 · 0 评论 -
一文解决Column ‘xxx‘ in field list is ambiguous问题
一文解决Column 'xxx' in field list is ambiguous问题原创 2022-09-23 17:35:36 · 20438 阅读 · 1 评论 -
详解MySQL information_schema数据库常用的表信息以及各表对应的字段信息;以及如何登录mysql和创建视图
详解MySQL information_schema数据库常用的表信息以及各表对应的字段信息;以及如何登录mysql和创建视图。我们常用的information_schema数据库中的表,比如TABLES,SCHEMATA,COLUMNS,CHARACTER_SETS,KEY_COLUMN_USAGE等,这些在我们的开发中非常重要,值的学习和研究。...原创 2022-07-20 09:48:13 · 4624 阅读 · 3 评论 -
jvm优化技巧,Java堆,old区,Eden区,s0和s1区,老年代,新生代
这里写目录标题jvm 说明性能调优案例jvm 说明jvm既 Java Virtual Machine,既然是虚拟机,其必有存储空间,且不同的存储空间,存储特定的数据,如图所示:虚拟机栈:存储基本数据类型、引用对象的变量、局部变量表等,这是线程私有的,每个线上线程的大小默认为1Mb。程序计数器:存储字节指令的地地址,如果是本地方法栈,则存储undefined。本地方法栈:由于java时表层语言,无法直接访问硬件,需要调用第三方语言,比如C、C++来操作硬件,比如创建内核线程,操作文件等。方法区原创 2020-09-13 21:32:51 · 9019 阅读 · 1 评论 -
解决ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broke
解决com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.问题原创 2022-09-02 16:40:43 · 15186 阅读 · 7 评论 -
windows环境下载和安装erlang或者解决Erlang Could not be detected.you must install Erlang before install RabbitMq
我的电脑是Windows系统,今天在安装RabbitMq时,报出如是错误:Erlang Could not be detected.you must install Erlang before install RabbitMq.于是不得不去下载Erlang ,又因我的电脑是Windows系统,windows环境下载和安装erlang更是麻烦,需要配置环境变量。...............原创 2022-08-31 16:42:47 · 7092 阅读 · 0 评论 -
解决escript: exception error: undefined function rabbitmqctl_escript:main/1问题以及如何安装Erlang和RabbitMq
解决在安装Erlang和RabbitMq完成后的问题escript: exception error: undefined function rabbitmqctl_escript:main/1原创 2022-09-01 13:47:32 · 4894 阅读 · 0 评论 -
解决Error: unable to perform an operation on node ‘rabbit@DESKTOP-xxx‘. Please see diagnostics informa
解决执行rabbitmqctl list_users报出的错误:Error: unable to perform an operation on node 'rabbit@DESKTOP-UVTEHFR'. Please see diagnostics information and suggestions below.原创 2022-09-02 11:39:31 · 17573 阅读 · 1 评论 -
解决RabbitMq登录时报出Not management user(Login failed)错误以及rabbitmqctl(RabbitMq)新增用户和用户角色权限
解决RabbitMq登录时报出Not management user(Login failed)错误以及rabbitmqctl(RabbitMq)查看用户权限、新增用户和用户角色权限。原创 2022-09-02 15:53:46 · 6728 阅读 · 0 评论 -
解决org.yaml.snakeyaml.scanner.ScannerException问题及yml的java.lang.IllegalStateException的问题
问题引入今天在配置spring boot yml文件时,出现了下面的错误:根据错误信息来看,mapping values are not allowed here,翻译为此处不允许使用映射值,此处是指哪里?是第25行第13列这个地方,这里不符合yml的编写格式,如图所示:因而,需要了解yml的配置格式,符合yml的配置格式就行。yml书写格式链接:https://www.jianshu.com/p/a8252bf2a63d......原创 2021-01-28 16:59:17 · 9434 阅读 · 0 评论 -
详细介绍Quartz以及它和timer的区别,spring集成Quartz,以及Cron常用表达式:每隔N秒钟、每隔N分钟、每隔N小时、在N点定时执行一次(每天执行一次)
详细介绍Quartz以及它和timer的区别,spring集成Quartz,以及Cron常用表达式:每隔N秒钟、每隔N分钟、每隔N小时、在N点定时执行一次(每天执行一次)原创 2023-04-09 07:36:49 · 904 阅读 · 3 评论 -
Error attempting to get column ‘xxx‘ from result set. Cause: java.sql.SQLDataException错误的解决方法
Error attempting to get column 'xxx' from result set. Cause: java.sql.SQLDataException: Cannot determine value type from string 'missionMockId'; SQL []; Cannot determine value type from string 'missionMockId'; nested exception is java.sql.SQLDataException原创 2023-03-25 07:34:33 · 12672 阅读 · 0 评论 -
Cause: org.apache.ibatis.type.TypeException: Error setting non null for xxx with JdbcType错误的详细解决方法
Cause: org.apache.ibatis.type.TypeException: Error setting non null for xxx with JdbcType错误的详细解决方法,比如 Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null 。原创 2023-03-27 07:48:57 · 4437 阅读 · 0 评论 -
nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘xxx‘ not found错误的详细解决方法
nested exception is org.apache.ibatis.binding.BindingException: Parameter 'xxx' not found. Available parameters are [xxx]错误的详细解决方法原创 2023-03-24 07:54:04 · 11681 阅读 · 0 评论 -
Content type ‘application/x-www-form-urlencoded;charset=UTF-8‘ not supported错误的多种解决方法及说明Content-Type
Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported错误的多种解决方法及详细说明Content-Type原创 2023-03-29 07:37:34 · 8105 阅读 · 1 评论 -
解决Mapper method ‘com.xxx‘ attempted to return null from a method with a primitive return type (xxx)
全向详细解决Mapper method 'com.xxx.mapper.AppPageButtonMapper.updateSeq attempted to return null from a method with a primitive return type (int) (long) (float) (double) (char) (boolean) (short) (byte)的方法原创 2023-03-04 08:27:19 · 5016 阅读 · 0 评论 -
全网详细解决Cannot deserialize instance of `com.xxx.实体类`out of START_ARRAY token at [Source: (PushbackInpu
全网详细解决org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize instance of `com.xxx.SortPageButtonDto` out of START_ARRAY token; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputExce...原创 2023-03-03 07:33:40 · 7678 阅读 · 0 评论 -
多种方法解决Expected one result (or null) to be returned by selectOne(), but found: x 的错误
多种方法解决org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 2或者Expected one result (or null) to be returned by getOne的错误。原创 2023-03-02 14:04:24 · 6360 阅读 · 2 评论