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

浙公网安备 33010602011771号