Integration of spring and wso2 server id remote client

I am trying to integrate remote spring client and wso2 identity server

but I ran into some addiction problems

My pom

<dependency>
    <groupId>org.wso2.carbon.identity.user.ws</groupId>
    <artifactId>org.wso2.carbon.um.ws.api.stub</artifactId>
    <version>5.1.3</version>
</dependency>
<dependency>
    <groupId>org.wso2.carbon.identity.user.ws</groupId>
    <artifactId>org.wso2.carbon.um.ws.api</artifactId>
    <version>5.1.3</version>
</dependency>
<dependency>
    <groupId>org.apache.axis2.wso2</groupId>
    <artifactId>axis2</artifactId>
    <version>1.6.1.wso2v12</version>
</dependency>

While working, I get the following exceptions:

    Caused by: java.util.zip.ZipException: invalid stored block lengths
            at java.util.zip.InflaterInputStream.read(Unknown Source)
            at org.springframework.boot.loader.jar.ZipInflaterInputStream.read(ZipIn
            at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
            at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
            at sun.nio.cs.StreamDecoder.read(Unknown Source)
            at java.io.InputStreamReader.read(Unknown Source)
            at java.io.BufferedReader.fill(Unknown Source)
            at java.io.BufferedReader.readLine(Unknown Source)
            at java.io.BufferedReader.readLine(Unknown Source)
            at java.util.ServiceLoader.parseLine(Unknown Source)
            ... 52 common frames omitted

And when building a dark maven, I get below the error:

error reading repository \ org \ wso2 \ securev olt \ org.wso2.securevault \ 1.0.0-wso2v2 \ org.wso2.securevault-1.0.0-wso2v2

+4
source share

Source: https://habr.com/ru/post/1661466/


All Articles