随笔分类 -  Mybatis错误

摘要:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stu' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is... 阅读全文
posted @ 2019-03-07 17:10 lilixia 阅读(853) 评论(0) 推荐(0)
摘要:这个错误是 org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unexpected failure during bean definition parsing Offending resource: class path resource [appli... 阅读全文
posted @ 2019-03-07 17:06 lilixia 阅读(3447) 评论(0) 推荐(0)
摘要://这个是 配置文件放错了地方 org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [applicationContext.xml]; nested exception is java.io.FileN... 阅读全文
posted @ 2019-03-06 11:07 lilixia 阅读(3509) 评论(0) 推荐(0)
摘要:这个错误是 查询的时候 返回值类型 resultMap 没有写 org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.apache.ibatis.executor.Exec 阅读全文
posted @ 2019-03-03 10:11 lilixia 阅读(1314) 评论(0) 推荐(0)
摘要:这个是sql 语句 错误 仔细检查 SQL语句是否写错了 org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.My 阅读全文
posted @ 2019-03-03 09:58 lilixia 阅读(4785) 评论(0) 推荐(0)
摘要:这个错误是没有找到映射文件 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.bw.mapper.BillMapper.getBillList at org.apache.ibat 阅读全文
posted @ 2019-03-03 09:43 lilixia 阅读(1084) 评论(0) 推荐(0)