Just a small article on a matter I encountered yesterday… Maybe some of you heard about the Agile project management tool XPlanner (directed toward eXtreme Programming depending on the website)
The latest release date of May 2006 and was tested only with the 1.4.2 JDK. However the JVM evolved since then… When trying to make XPlanner working on a server with a Tomcat 5.5 and especially a JDK 1.6, I got a very nice stacktrace when launching the application, which the interesting part is :
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'
The solution is to modify the following spring’s confguration file : WEB-INF/classes/spring-beans.xml replacing :
<bean id="metaRepository" class="com.technoetic.xplanner.domain.repository.MetaRepositoryImpl">
<property name="repositories">
<map>
[...]
</map>
by
<bean id="metaRepository" class="com.technoetic.xplanner.domain.repository.MetaRepositoryImpl">
<property name="repositories">
<bean class="java.util.HashMap">
<constructor-arg>
<map>
[...]
</map>
</constructor-arg>
</bean>
[...]
The bug is notified on the Jira bugtracker of the project since some time, but is still to be fixed…
Other Languages:

6 réponses à “XPlanner, Spring and JDK 1.6”
Par Chandra Sreeraman le Dec 17, 2008
Thank you very much – it saved me a lot of sleepless nights.
Par Gary le Jan 24, 2009
Hey thanks for this information.
I was trawling through the spring source when an inspired google turned up your patch.
Excellent work.
Gary
Par Lennarth le Mar 4, 2009
Excelent, thank you very much.
Par dfense le Mar 20, 2009
Wow, this was a life saver not being a spring expert.
Thanks for taking the time to help us keep xplanner usable with newer releases!
Par Tonte le Mar 23, 2009
Thanks for posting this fix. I wonder has anybody tried to use XPlanner with Mylyn for Eclipse? I am having problems logging into XPlanner from Mylyn in Eclipse.
Thanks!