ibatis出错:There is no result map named RM.ProjectCharge in this SqlMap.

明明已有id=RM.ProjectCharge.

出错:Cause: com.ibatis.sqlmap.client.SqlMapException: There is no result map named RM.ProjectCharge in this SqlMap.

原因:RM.ProjectCharge的顺序放错

如:

修正:把id="RM.ProjectCharge.simple"放在id="RM.ProjectCharge"的下面就ok

时间: 2024-10-03 19:12:03

ibatis出错:There is no result map named RM.ProjectCharge in this SqlMap.的相关文章

org.apache.ibatis.builder.IncompleteElementException: Could not find result map java.util.HashMap

这样的配置有问题吗? <select id="getFreightCollectManagementList" resultMap="java.util.HashMap" parameterType="com.rms.providers.dto.AccountingPayableDto"> 有的, 出现mybatis 错误: 2018-08-13 15:28:35 -13867 [http-nio-80-exec-10] DEBUG

Mybatis报错:org.apache.ibatis.builder.IncompleteElementException: Could not find result map com.me.mybatis.mapper.OrderMapper.

运行关联查询的例子时报错: org.apache.ibatis.builder.IncompleteElementException: Could not find result map com.me.mybatis.mapper.OrderMapper. at org.apache.ibatis.builder.MapperBuilderAssistant.setStatementResultMap(MapperBuilderAssistant.java:346) at org.apache.

mybatis异常:Could not find result map java.util.Map 问题分析及解决

错误写法 <select id="queryXXXCount" resultMap="java.util.Map" > mybatis报出的异常日志: org.apache.ibatis.builder.IncompleteElementException: Could not find result map java.util.Map at org.apache.ibatis.builder.MapperBuilderAssistant.setStat

A query was run and no Result Maps were found for the Mapped Statement &#39;user.insertUser!selectKey&#39;. It&#39;s likely that neither a Result Type nor a Result Map was specified.

使用mybatis时出现异常问题: 有如下的错误 1 Error querying database. Cause: org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'user.insertUser!selectKey'. It's likely that neither a Result Type nor a

Error getting nested result map values for &#39;user_inf&#39;. Cause: java.sql.SQLException: Cannot convert

问题?Error getting nested result map values for 'user_inf'.  Cause: java.sql.SQLException: Cannot convert value '0000-00-00 00:00:00' from column 8 to TIMESTAMP. 错误:org.apache.ibatis.exceptions.PersistenceException: ### Error querying database.  Cause:

解决报错:IncompleteElementException: Could not find result map...

今天遇到这样一个报错,记录一下: org.apache.ibatis.builder.IncompleteElementException: Could not find result map com.xxx.manager.mapper.ItemMapper.Item at org.apache.ibatis.builder.MapperBuilderAssistant.getStatementResultMaps(MapperBuilderAssistant.java:346) at org

mybatis异常:Could not find result map ......... 问题分析及解决

org.apache.ibatis.builder.IncompleteElementException: Could not find result map....... 网上的大部分的改正方法是: 错误写法 <select id="queryXXXCount" resultMap="java.util.Map" > 正确写法: <select id="queryXXXCount" resultType="java.

mybatis异常:Could not find result map Java.util.Map 问题分析及解决 定位不到具体的位置的错误

mybatis异常:Could not find result map Java.util.Map 问题分析及解决 错误写法  <select id="queryXXXCount" resultMap="java.util.Map" > mybatis报出的异常日志:org.apache.ibatis.builder.IncompleteElementException: Could not find result map java.util.Map a

It&#39;s likely that neither a Result Type nor a Result Map was specified

2017-08-29 14:30:49,951 [http-bio-8888-exec-2] ERROR [core.security.process.exception.ExceptionResolverCustom] - nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement