初学webservices ,提供的接口 方法可以返回字符串,返回集合报错 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.codehaus.xfire.spring.ServiceBean#1' defined in class path resource [META-INF/xfire/services.xml]: Initialization of bean failed; nested exception is org.codehaus.xfire.XFireRuntimeException: Cannot create mapping for java.util.List, unspecified component type for interface java.util.Listorg.codehaus.xfire.XFireRuntimeException: Cannot create mapping for java.util.List, unspecified component type for interface java.util.List

解决方案 »

  1.   

    此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
    楼主【wuxu009】截止到2008-07-30 09:07:55的历史汇总数据(不包括此帖):
    发帖的总数量:9                        发帖的总分数:370                      每贴平均分数:41                       
    回帖的总数量:84                       得分贴总数量:28                       回帖的得分率:33%                      
    结贴的总数量:7                        结贴的总分数:200                      
    无满意结贴数:2                        无满意结贴分:60                       
    未结的帖子数:2                        未结的总分数:170                      
    结贴的百分比:77.78 %               结分的百分比:54.05 %                  
    无满意结贴率:28.57 %               无满意结分率:30.00 %                  
    楼主加油

    取消马甲机器人,请点这里:http://www.java2000.net/mycsdn/robotStop.jsp?usern=wuxu009
      

  2.   

    检查下你的配置文件的bean类写对没?
      

  3.   

    你返回的list对象,检查下配置文件