I have a library that is a drop-in extension of a commercial product. That product is several years old and uses Sun's JAXB-2.0 libraries.
My library uses JAXB and I'm having a very bizarre error. What might cause "JAXBElement Does not have a no-arg default constructor"?
I've discovered that this is caused by a bug in the older library. Can I pre-empt the loaded classes to force my extension to use the "right" version of the class?
Edit: Along with my drop-in I'm packing JAXB-2.2.5 (which is referenced on the classpath of my plugin) but I suspect that the existing JVM has already loaded 2.0 versions of the class, causing my heartache.