karaf@root()> package:exports |grep com.sun.xml.bind com.sun.xml.bind.annotation | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.api.impl | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.api | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.marshaller | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.unmarshaller | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.util | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.bytecode | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.doc-files | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.model.annotation | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.model.core | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.model.impl | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.model.nav | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.model.runtime | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.model.util | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.runtime.output | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.runtime.property | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.runtime.reflect.opt | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.runtime.reflect | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.runtime.unmarshaller | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.runtime | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.schemagen.episode | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.schemagen.xmlschema | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.schemagen | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2.util | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind.v2 | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl com.sun.xml.bind | 2.2.11 | 12 | org.apache.servicemix.bundles.jaxb-impl
I always get that error under windows (OracleJDK 8), never in dockerized container (OpenJDK8). Freeman-2 wrote > Hello, > > This ClassCastException normally means you have two jaxb-impl bundles(with > different version) installed in the Karaf container. > > Could you please double check it? > > You can use Karaf command > package:exports |grep com.sun.xml.bind > > And paste what the output you get here -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
