草庐IT

SqlMapException

全部标签

java - 为什么我在插入数据时收到 SqlMapException?

我正在尝试使用iBatis插入一些用户在联系我们表单中发送的数据。我正在使用Liferay/SpringMVC/iBatis/MySQL设置,但我认为问题是由iBatis配置引起的。每当我尝试插入数据时,我都会在日志中看到异常:com.ibatis.sqlmap.client.SqlMapException:Thereisnostatementnamedcontactus.ibatorgenerated_insertinthisSqlMap.atcom.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.getMappedStatement