On Dec 16, 2012, at 7:42 PM, Ees Lin <[email protected]> wrote: > Hi Mika, > > I am trying to get the CXF working on Websphere 7 or 8.5. I had the same > problem you were having > "loading constraint violation: loader > "com/ibm/ws/classloader/CompoundClassLoader@d79a47d7" previously initiated > loading for a different type with name "org/w3c/dom/DOMConfiguration" > defined by loader "com/ibm/oti/vm/BootstrapClassLoader@284d10b1"" . > > Compared your jars with mine and found out that you were using the > xmlbean-2.5.0 jar and i was using xbean.x.x.xjar both these jars has the > component org/w3c/dom/DOMConfiguration and this causes that above problem. > > So what i did is i removed the package (org/w3c/dom/DOMConfiguration) from > Xbean.x.x.x.jar or xmlbean2.5.0.jar and it worked... > > Also it worked with having these saaj-api and saaj-impl .jars.. > > But i dont want to manually delete that package > (org/w3c/dom/DOMConfiguration) from xbean.x.x.x.jar.. Is there any other way > to get around this problem?
For CXF 2.7.x, we updated to using xmlbeans 2.6.0 which no longer has those classes in the jar. You can exclude the 2.5.0 version and pull in the 2.6.0 version if needed. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
