启动抛出以下异常:
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.
出处:
xplanner部署错误
最新推荐文章于 2020-12-25 22:13:33 发布