java - 在同一项目中使用 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>
解决方案
推荐阅读
- android - 软件更新 macOS Mojave 后 ADB 无法正常工作
- git - 带有拼写错误和无意提交的 Git 提交命令
- php - 如何在 WooCommerce 3 的 foreach 循环中获取订单商品
- c++ - AddFontResource + SetCurrentConsoleFontEx 没有改变控制台字体
- python - 如何在 PyOpenGL 中旋转二维线?
- javascript - 如何通过按钮单击将背景颜色保存在 cookie 中?
- slatejs - 切换 SlateJS 编辑器的只读道具
- c# - 如何选择一个而不用枚举重复代码并在 C# 和 MySql 中切换
- ionic4 - 我们如何在 ionic4 中禁用 ion-slide 的缩放功能
- java - 如何在 POJO 类中使用 HashMap 并检索它?