首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

请问个ibatis有关问题

2012-10-29 
请教个ibatis问题iBatis里有个dao.xml配置文件,是不是只能应用在web层,如果不是的话,那我现在在开发一个基

请教个ibatis问题
iBatis里有个dao.xml配置文件,是不是只能应用在web层,如果不是的话,那我现在在开发一个基于Eclipse RCP应用的时候,DAO层也用到了dao.xml

但是总有个这样的错误
There is no DAO implementation found for class com.XXX.XXXDAO in any context. If you've registered multiple implementations of this DAO, you must specify the Context ID for the DAO implementationyou're looking for using the getDao(Class iface, String contextId) method.

不知道是什么原因,谢谢各位指点

热点排行