原创  xplanner部署错误 收藏

启动抛出以下异常: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.apache.commons.collections.map.LinkedMap] to required type [java.util.HashMap] for property 'repositories' 解决方法: 1.  Open /xplanner/WEB-INF/classes/sbring-beans.xml 2.  Find the bean id="metaRepository" 3.  Replace      <property name="repositories"><map>......</map></property>      with     <property name="repositories">         <bean class="java.util.HashMap">         <constructor-arg>         <map>.....</map>         </constructor-arg>         </bean>     </property> This will cause spring to create a HashMap populated with the contents os the spring created map. 出处:

发表于 @ 2008年06月15日 15:54:00 | 评论( loading... ) | 编辑| 举报| 收藏

旧一篇:ubuntu 8.04 flash 中文乱码 | 新一篇:安装vsftpd, 设置虚拟用户

  • 发表评论
  • 评论内容:
  •  
Copyright © liujin4049
Powered by CSDN Blog