azure-spring-boot-starter-storage 升级版本io.netty netty-handler 的问题

问题描述

当我升级 azure-spring-boot-starter-storage 包中的 io.netty netty-handler 版本时,我收到 io.netty.handler.ssl.SslContxtBuilder 异常。

io.netty.netty-handler 版本 4.1.58.Final 有一个由 Sonatype 报告的安全策略威胁级别 6。

对我升级依赖版本有什么帮助吗?

<dependency>
    <groupId>com.azure.spring</groupId>
    <artifactId>azure-spring-boot-starter-storage</artifactId>
    <version>3.3.0</version>
    <!-- sonatype vulnerability -->
    <exclusions>
        <exclusion>
            <groupId>com.fasterxml.woodstox</groupId>
            <artifactId>woodstox-core</artifactId>
        </exclusion>
        <exclusion>
            <groupId>net.minidev</groupId>
            <artifactId>json-smart</artifactId>
        </exclusion>
        <exclusion>
            <groupId>io.netty</groupId>
            <artifactId>netty-handler</artifactId>
        </exclusion>
    </exclusions>
    <!-- end of sonatype vulnerability -->
</dependency>
<dependency>
    <groupId>com.fasterxml.woodstox</groupId>
    <artifactId>woodstox-core</artifactId>
    <version>6.2.4</version>
</dependency>
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-handler</artifactId>
    <version>5.0.0.Alpha1</version>
    <exclusions>
        <exclusion>
            <groupId>io.netty</groupId>
            <artifactId>netty-codec</artifactId>
        </exclusion>
    </exclusions>
</dependency>
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-codec</artifactId>
    <version>4.1.60.Final</version>
</dependency>

下面是springboot应用程序启动时抛出的异常。知道怎么做吗?

2021-04-06 | 18:09:56.724 | parallel-1       | ERROR | reactor.core.scheduler.Schedulers        | Scheduler worker in group RMI Runtime failed with an uncaught exception
java.lang.NoClassDefFoundError: io/netty/handler/ssl/SslContextBuilder

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...