随笔分类 -  异常

工作中出现的异常情况以及解决办法
摘要:错误: Caused by: java.sql.SQLException: Unknown initial character set index '255' received from server. Initial client character set can be forced via t 阅读全文
posted @ 2022-11-24 15:52 江南0o0 阅读(235) 评论(0) 推荐(0)
摘要:出现这个错误的原因在于:你本地和远程同时修改了文件 解决办法: 保留本地的文件 git stash git pull origin master git stash pop 不保留本地文件(将本地文件回复到上一个版本,将远程修改pull下来) git reset --hard git push or 阅读全文
posted @ 2021-12-12 15:50 江南0o0 阅读(148) 评论(0) 推荐(0)
摘要:错误 Error updating database. Cause: java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed ### The error 阅读全文
posted @ 2021-11-27 10:59 江南0o0 阅读(440) 评论(0) 推荐(0)
摘要:错误 Error creating bean with name 'transactionManager' defined in class path resource [spring-dao.xml]: Invocation of init method failed; nested except 阅读全文
posted @ 2021-11-27 10:56 江南0o0 阅读(1560) 评论(0) 推荐(0)
摘要:错误 Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-dao.xml]: Invocation of init method failed; nested excepti 阅读全文
posted @ 2021-11-27 09:46 江南0o0 阅读(493) 评论(0) 推荐(0)
摘要:这个错误废了我好多时间,记录一下 错误 原因: spring自带的name属性和配置文件的name属性重合了,然后配置文件的name就被覆盖掉了 解决办法 1.在导入配置文件的标签后面添加一个属性:system-properties-mode="FALLBACK" <context:property 阅读全文
posted @ 2021-11-26 17:00 江南0o0 阅读(78) 评论(0) 推荐(0)
摘要:exception [Request processing failed; nested exception is java.lang.NullPoin 原因:查询数据的时候,俩张表的数据对不上 解决办法:删除多余的数据(目前水平有限) 阅读全文
posted @ 2021-11-14 15:39 江南0o0 阅读(545) 评论(0) 推荐(0)
摘要:dDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'userService'; nested exception i 阅读全文
posted @ 2021-11-12 10:03 江南0o0 阅读(1315) 评论(0) 推荐(0)