框架报错解决 Mybatis jeecgframework.web.cgreport.dao.core.CgReportDao maxIdle is deprecated

本文探讨了在使用MyBatis框架时遇到的接口与SQL映射不匹配的问题,深入分析了mybatisDao层接口命名与Mapper中SQL id一致性的重要性,以及如何解决此类常见错误。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

MiniDao Interface [/org.jeecgframework.web.cgreport.dao.core.CgReportDao/] onto Spring Bean 'cgReportDao'
maxIdle is deprecated
{dataSource-1} inited
HCANN000001: Hibernate Commons Annotations {4.0.2.Final}
HHH000412: Hibernate Core {4.2.3.Final}
HHH000206: hibernate.properties not found
HHH000021: Bytecode provider name : javassist
HHH000400: Using dialect: org.hibernate.dialect.OracleDialect
HHH000063: The Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect or Oracle10gDialect instead
HHH000064: The OracleDialect dialect has been deprecated; use Oracle8iDialect instead
HHH000422: Disabling contextual LOB creation as connection was null
HHH000399: Using default transaction strategy (direct JDBC transactions)
HHH000397: Using ASTQueryTranslatorFactory
Hibernate Validator 4.2.0.Final
HHH000409: Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values; consider using org.hibernate.id.UUIDGenerator instead
MiniDao Interface [/org.jeecgframework.web.cgform.dao.config.CgFormFieldDao/] onto Spring Bean 'cgFormFieldDao'
MiniDao Interface [/org.jeecgframework.web.cgform.dao.config.CgFormVersionDao/] onto Spring Bean 'cgFormVersionDao'
MiniDao Interface [/org.jeecgframework.web.cgform.dao.upload.CgFormUploadDao/] onto Spring Bean 'cgFormUploadDao'
MiniDao Interface [/org.jeecgframework.web.system.dao.repair.RepairDao/] onto Spring Bean 'repairDao'
MiniDao Interface [/org.jeecgframework.web.demo.dao.test.JeecgMinidaoDao/] onto Spring Bean 'jeecgMinidaoDao'
Spring's Quartz 1.x support is deprecated - please upgrade to Quartz 2.0+
maxIdle is deprecated

 

原因:mybatis Dao层里面的接口名字没有找到和 Mapper里面的SQL 的 id 一致的!!!!

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值