>>
>
> 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.

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com

Reply via email to