程序包com.sun.xml.internal.bind.marshaller不存在

程序包com.sun.xml.internal.bind.marshaller不存在

需要引入的依赖

		<dependency>
            <groupId>org.jetbrains.kotlingroupId>
            <artifactId>kotlin-stdlibartifactId>
            <version>1.3.50version>
        dependency>
        <dependency>
            <groupId>com.sun.xml.bindgroupId>
            <artifactId>jaxb-implartifactId>
            <version>2.2.4-1version>
        dependency>

需要引入的包

import com.sun.xml.bind.marshaller.CharacterEscapeHandler;

如果引入的是下面这个包则会报:程序包com.sun.xml.internal.bind.marshaller不存在

import com.sun.xml.internal.bind.marshaller.CharacterEscapeHandler;

你可能感兴趣的:(xml,1024程序员节)