I am updating jaxb-impl jar in my application pom to 2.2.11
from 2.1
.I saw there is no class called CharacterEscapeHandler inside
com.sun.xml.bind.marshaller
Is there any alternative class for this since our source code uses CharacterEscapeHandler .
I got an alternative from
http://www.java2s.com/Code/Jar/j/Downloadjaxbimpl221jar.htm
Can anybody confirm this as the alternative dependency I need to add to support that class from package
import com.sun.xml.txw2.output.CharacterEscapeHandler
<dependency> <groupId>com.sun.xml.txw2</groupId> <artifactId>txw2</artifactId> <version>some version</version> </dependency>
Ref Link :
http://grepcode.com/snapshot/repo1.maven.org/maven2/com.sun.xml.bind/jaxb-impl/2.2.11.
Any help would be appreciated.
With jaxb-impl 2.2.7 the com.sun.xml.bind.marshaller.CharacterEscapeHandler
was moved to jaxb-core 2.2.7
And since 2.2.10 jaxb-impl lost its dependency on jaxb-core
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.