On Wed, Oct 13, 2010 at 10:22 AM, Simon Laws <[email protected]> wrote: >>> >> >> A difference in 2.x is that we require JDK6 and use the xml >> dependencies that are included in that, and they don't necessarily >> work with other versions of things. So for example changing to use the >> jaxws-api dependency as used in 1.6.1 gives me the following >> exception: >> >> Caused by: java.lang.ClassCastException: >> com.sun.xml.bind.v2.runtime.JAXBContextImpl cannot be cast to >> com.sun.xml.internal.bind.api >> .JAXBRIContext >> >> Looking at the dependency tree the Tuscany module databinding-jaxb is >> using com.sun.xml.bind:jaxb-impl:jar:2.1.12 so i guess we have to have >> dependencies that are compatible with that, or change databinding-jaxb >> to use just the base JDK classes. >> >> ...ant >> >> ...ant >> > > And I guess we don't know yet whether we actually need the 2.1.12 > version if jaxb-impl. I note from playing with it yesterday that > jaxb-impl 2.1.4 is a dependency of the wink server. >
I quick try of removing all the jaxb dependencies from databinding-jaxb so that it uses the jdk6 base dependencies gives test fails with: ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory ...ant
