找不到提供程序com.sun.xml.internal.ws.spi.ProviderImpl

时间:2020-01-28 02:31:43

标签: java xml web-services soap

我在使用sun.xml依赖项时遇到问题。找不到ProviderImpl类

已经添加了我的pom.xml:

    <properties>
        <jaxb.version>2.3.0</jaxb.version>
        <javax.activation.version>1.1.1</javax.activation.version>
        <jaxws.version>2.3.1</jaxws.version>
    </properties>

        <dependency>
            <groupId>javax.xml.ws</groupId>
            <artifactId>jaxws-api</artifactId>
            <version>${jaxws.version}</version>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.ws</groupId>
            <artifactId>jaxws-rt</artifactId>
            <version>${jaxws.version}</version>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.ws</groupId>
            <artifactId>rt</artifactId>
            <version>${jaxws.version}</version>
        </dependency>

当我进行电话肥皂网络服务时发生错误。

0 个答案:

没有答案