spring+ibatis+struts2 的问题

两个木头 2012-11-12 02:38:23
2012-11-12 14:32:59 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
2012-11-12 14:32:59 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sqlMapClient' defined in
class path resource [springs.xml]: Invocation of init method failed;
nested exception is java.lang.RuntimeException: Error occurred.
Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.
Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'.
Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.
Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMap/select'.
Cause: com.ibatis.sqlmap.client.SqlMapException:
There is no result map named sys.adminInfo_map in this SqlMap.
...全文
149 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
两个木头 2012-11-12
  • 打赏
  • 举报
回复
昨天才刚刚接触 看不懂啊 一天了 改了也没有用
cuiwenbin520 2012-11-12
  • 打赏
  • 举报
回复
一楼正解
Tony-Lu 2012-11-12
  • 打赏
  • 举报
回复
你要定义一个 result map named sys.adminInfo_map

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧