The fix is a bit weird! See this description, copied from the pom file comment:
Don't include version number for javax.xml.bind*, because otherwise it breaks with CXF 3.3.2 in Karaf 4.2.7.
In brief, if we include the version it means the jakarta.xml.bind-api bundle gets installed
(which we don't want - that gives us two XMLRegistry classes on the classpath).
The fix is a bit weird! See this description, copied from the pom file comment:
Don't include version number for
javax.xml.bind*
, because otherwise it breaks with CXF 3.3.2 in Karaf 4.2.7. In brief, if we include the version it means the jakarta.xml.bind-api bundle gets installed (which we don't want - that gives us two XMLRegistry classes on the classpath).For more info: