com.ibatis.sqlmap.client.SqlMapException: There is no statement named Control.insert-control in this SqlMap.
?????????????? at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.getMappedStatement(SqlMapExecutorDelegate.java:231)
?????????????? at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.insert(SqlMapExecutorDelegate.java:367)
?????????????? at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.insert(SqlMapSessionImpl.java:82)
?????????????? at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.insert(SqlMapClientImpl.java:58)
我已经在Control.xml里加了Control.insert-control,问题依然在。
最后查找之下,原来在SqlMapConfig.xml里没有加上(应该是以前加过,当svn出问题后SqlMapConfig.xml没commit,直接checkout来了,SqlMapConfig.xml没更新到引起的)
<sqlMap resource="com/xxx/dao/mysql/Control.xml"/>
详细解决方案
There is no statement named xxx in this SqlMap 让小弟我很莫名
热度:133 发布时间:2016-05-05 13:45:34.0
相关解决方案
- mysql Statement parameter 一 not set
- 关于java.sql.Statement.executeUpdate()的返回值,该怎么处理
- Statement.excuteQuery()方法中如何执行多条MySQL语句?
- PreparedStatement pstmt=conn.prepareStatement(sql,Statement.RETURN_GENERATED_KEYS);oracle出现java.sql.SQLException: 不支持的特性的异常,什么原因
- spring+ibatis下报错:There is no statement named selectSQL in this SqlMap,该怎么解决
- could not locate named parameter [1]
- There is no WRITEABLE property named 'outboxsize' in class 咋回事
- 460:Statement length exceeds maximum.解决方案
- 460:Statement length exceeds maximum.该如何解决
- does not contain handler parameter named 'method' 错误
- statement.execute(s);
- Statement execute 执行 返回值错误 问题
- symfony报错:Couldn't locate driver named mysql,该如何处理
- 安装APACHE出现No install service named apache2解决思路
- statement、prepareStatement、callableStatement的运用
- 火狐浏览器异常: [Exception. "'JavaScript component does not have a method named: "han
- 期望大神出现(Expression Error: Named Object: 'userService' not found.)
- springside 3.34NoSuchBeanDefinitionException: No bean named 'springSecurityFilte解决办法
- No operations allowed after statement closed,该如何解决
- Spring hibernate mysql No operations allowed after statement closed解决方案
- Statement stmt=null的作用是什么?该如何解决
- SSI中报错 com.ibatis.sql地图.client.SqlMapException: There is no statement named XXX
- does not contain handler parameter named 'opp'. This may be caused by whitespace in the label text解决方案
- javax.faces.el.EvaluationException: Expression Error: Named
- 小弟我都哭了,帮帮小弟我吧resultSet = statement.executeQuery(test);有关问题
- java.lang.IllegalArgumentException: Named query not found: searchItemByWhid解决方法
- 纳闷:ResultSet.close()后,生成 ResultSet 对象的 Statement 对象和 Connection 对象不调用close,连接池会继续占用吗
- No bean named '' is defined,该如何处理
- 不封闭ResultSet、Statement,只关闭Connection对程序是否有影响
- Statement.executeUpdate不能在while(RestleSet.next())里面使用?碰到个奇怪有关问题