xplanner部署错误

来源:互联网 发布:java爬虫抓取天眼查 编辑:程序博客网 时间:2024/04/29 11:25
启动抛出以下异常: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. 出处: