报如下异常解决方法
sqlMapConfig 里加入
<settings
useStatementNamespaces="true"
/>
即可解决
com.ibatis.sqlmap.client.SqlMapException: There is no statement named TEST_USER.ibatorgenerated_insert in this SqlMap.
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.getMappedStatement(SqlMapExecutorDelegate.java:293)
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.insert(SqlMapExecutorDelegate.java:429)
com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.insert(SqlMapSessionImpl.java:82)
org.springframework.orm.ibatis.SqlMapClientTemplate$9.doInSqlMapClient(SqlMapClientTemplate.java:399)
org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:209)
org.springframework.orm.ibatis.SqlMapClientTemplate.insert(SqlMapClientTemplate.java:397)
com.test.dao.TestUserDAOImpl.insert(TestUserDAOImpl.java:36)
com.test.manager.UserManager.inserUser(UserManager.java:26)
com.test.action.UserAction.editUser(UserAction.java:18)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:440)
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:279)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242)
分享到:
相关推荐
之前一直找原因,最后知道了解决方法,具体请下载源码查看。特别是用到throw的事务中
NULL 博文链接:https://elfasd.iteye.com/blog/1908001
其中一个问题是报but there is no HDFS_NAMENODE_USER defined. Aborting operation. Starting datanodes 直接解决 在Hadoop安装目录下找到sbin文件夹 在里面修改四个文件 1、对于start-dfs.sh和stop-dfs.sh文件,...
前几天在网上下载一个struts2的helloword的例子,那个作者也真够缺德的,搞个错误的程序,害得我查了一天的程序错误。 最后发现竟然是struts.xml被写成啦sturts.xml。 碰见这样的问题先鄙视下提供例子的作者, ...
HTTP Status 404 - There is no Action mapped for namespace and action name BackMemberGroupAudit..doc
Show Message When There is No Disk in a Drive
1、CANoe连接VT System; 2、VT6000实时系统; 3、VT System板卡使用; 4、VT System故障排查;
今天小编就为大家分享一篇关于Mybatis单个参数的if判断报异常There is no getter for property named 'xxx' in 'class java.lang.Integer'的解决方案,小编觉得内容挺不错的,现在分享给大家,具有很好的参考价值,...
Visual Studio打开Qt项目时“there's no Qt version assigned to this project for platform win32”问题的解决方法1
我选择SAP CAP项目的db文件夹,右键选择build时,遇到如下... Can not create service instance ‘Products-Products-db-hdi-container8HPfzrS/PBqVvnsD’: There is no database available. Ensure that you have a
python chrome driver exe
sublime text3中安装Emmet插件失败:There are no packages available for installtion-附件资源
Sublime Text 3错误:there are no packages available for installation-附件资源
解决docker报错There are no more lookback devices available
Sublime Text3中无法加载Install Package:There are no packages for installation.-附件资源
如果需要解析的数据间存在级联关系,而互相嵌套引用,在hibernate中极容易嵌套而抛出net.sf.json.JSONException: There is a cycle in the hierarchy异常。
常问问题1,出现了如下BUG org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'statement' in 'class ...