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
相关解决方案
- 关于java.sql.Statement.executeUpdate()的返回值,该怎么处理
- 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' 错误
- 安装APACHE出现No install service named apache2解决思路
- statement、prepareStatement、callableStatement的运用
- 火狐浏览器异常: [Exception. "'JavaScript component does not have a method named: "han
- 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解决方案
- 纳闷:ResultSet.close()后,生成 ResultSet 对象的 Statement 对象和 Connection 对象不调用close,连接池会继续占用吗
- 不封闭ResultSet、Statement,只关闭Connection对程序是否有影响
- Statement.executeUpdate不能在while(RestleSet.next())里面使用?碰到个奇怪有关问题
- Statement stmt = Conn.createStatement(1004,1007);解决方案
- Vector、Connection、Statement、abstractTableModel,该如何处理
- spring+ibatis下出错:There is no statement named selectSQL in this SqlMap
- java利用Jython调用python抛出异常ImportError: No module named odbchelper
- SSH开发,Hibenrate在setParameter时报错,提醒could not locate named parameter
- Statement 中的executeUpdate如果执行的是DDL语句出错信息如何返回
- 编辑jsp时候出现的异常cannot convert from java.sql.Statement to java.beans.Statement
- Action[/admin] does not contain method named 'login'解决思路
- org.apache.axis.ConfigurationException: No service named XX is available,该如何解决
- Ibatis学习小结5-动态 Mapped Statement
- 施行存储过程出现ORA-00900:invalid SQL statement
- 数据库连接的 statement 对象生成后,但在两个不同的小模块中,怎么调用
- unreachable statement ?
- sqlserver2008R2 增添数据 not allowed within multi-statement transaction
- windows ipython 出现ImportError: No module named XXXX异常