The class com.sun.xml.bind.v2.model.annotation.AnnotationReader
was part of jaxb-impl 2.1.6, but has been removed in 2.1.7. Does anybody know why?
相关问题
- How to return a long property as JSON string value
- XmlAdapter to JAXB-bind Joda Time Interval?
- what is the benefit in dynamically generating java
- JAXB, annotations for setter/getter
- Specification and correct use of (boolean) URI mat
相关文章
- What is the difference between Castor XML binding
- Retrieve values from Json and update the XML
- Unmarshalling following xml having inheritance str
- Using SAX with JAXBContext
- How to use PayloadLoggingInterceptor and SOAPLoggi
- Generate java classes from xsd with jaxb from a ch
- Error when unexpected element (uri:“”, local:“resp
- How can I make Ant use JAXB 2.2.x instead of Java
The
AnnotationReader
is now part ofjaxb-core
.JAXB artifacts were restructured in
2.2.11
so a few classes were moved betweenjaxb-runtime
andjaxb-core
.AnnotationReader
is not the only one. The main reason is (probably) the mavenisation which required rearranging a few classes due to dependency structure.Unfortunately the old artifacts
com.sun.xml.bind:*
has a bit wrong dependency structure so if you just usedjaxb-impl
before you'd also needjaxb-core
. If this was your problem you should move to the neworg.glassfish.jaxb:*
artifacts as they have the right structure.org.glassfish.jaxb:jaxb-core
is a dependency oforg.glassfish.jaxb:jaxb-runtime
which replaces the oldorg.glassfish.jaxb:jaxb-impl
.See also: