java.lang.IllegalArgumentException:尚未正确配置Jetty ALPN / NPN [英] java.lang.IllegalArgumentException: Jetty ALPN/NPN has not been properly configured

查看:418
本文介绍了java.lang.IllegalArgumentException:尚未正确配置Jetty ALPN / NPN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

获取 java.lang.IllegalArgumentException:Jetty ALPN / NPN未正确配置,而使用 gRPC(google pub / sub)发布/消费来自 Kafka 的消息。

Getting java.lang.IllegalArgumentException: Jetty ALPN/NPN has not been properly configured, while using gRPC(google pub/sub) to publish/consumes messages from Kafka.

推荐答案

添加ALPN客户端JAR哪个匹配我的JDK版本为我解决了这个问题。在eclipse中,您需要将jar设置为tomcat服务器的引导条目。

Adding the ALPN client JAR which matches my JDK version fixed this issue for me. In eclipse, you need to set up the jar as a bootstrap entry for the tomcat server.

您可以在此处找到有关它的更多信息:

You can find more info about it here : https://medium.com/@Parithi/jetty-alpn-npn-has-not-been-properly-configured-solution-418417ee6502

这篇关于java.lang.IllegalArgumentException:尚未正确配置Jetty ALPN / NPN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆