您的位置:程序门 -> java -> web services / xml



xfire spring和hibernate集成抛出的数据映射异常的问题?


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


xfire spring和hibernate集成抛出的数据映射异常的问题?
发表于:2007-08-10 10:26:02 楼主
用myeclipse集成spring,   hibernate,   and   xfire,mysql发布web   service  
抛出这样一个异常:
javax.servlet.servletexception:   couldn 't   create   type   for   property   definedfilternames   on   interface   org.hibernate.sessionfactory:   cannot   create   mapping   for   java.util.set,   unspecified   component   type   for   interface   java.util.set

看起来应该是是数据映射问题,可关键是我发布接口中返回类型并没有java.util.set
实物类及对应该的dao都是通过数据表用myeclipse自动生成的
请高手们给点建议
发表于:2007-09-24 08:36:541楼 得分:0
你采用的是哪个数据绑定方式呢?aegis吗?


快速检索

最新资讯
热门点击