首页 > 解决方案 > 在同一项目中使用 firebase Admin SDK 和 netty 时出现错误“ALPN 配置不正确”

问题描述

当我在同一个 java maven 项目中有 firebase 和 netty 时,我得到了这个错误

线程“主”com.google.cloud.firestore.FirestoreException 中的异常:java.lang.IllegalArgumentException:ALPN 配置不正确

    <dependency>
        <groupId>com.google.firebase</groupId>
        <artifactId>firebase-admin</artifactId>
        <version>6.2.0</version>
    </dependency>
    <dependency>
        <groupId>ch.qos.logback</groupId>
        <artifactId>logback-classic</artifactId>
        <version>1.0.13</version>
    </dependency>

标签: javamavenfirebasenettyfirebase-admin

解决方案


推荐阅读