apache / apache/servicecomb-java-chassis

Service registration is failing with : Could not initialize class io.vertx.core.http.HttpHeaders

未关闭
#3,292 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
1.9k
派生
814
平均合并
8 天 23 小时
30 天内合并 PR
1

描述

Hello,

MY gateway service registration if failing with

```
java.lang.NoClassDefFoundError: Could not initialize class io.vertx.core.http.HttpHeaders
java.lang.NoSuchFieldError: ACCESS_CONTROL_ALLOW_PRIVATE_NETWORK

```
Below are the error logs in startup. This error starts to occur recently. Not sure if it is related to any library conflicts.

`2022-08-22 10:17:43.104 ERROR 18821 --- [ntloop-thread-1] o.a.s.s.client.http.RestClientUtil : GET /v4/default/registry/existence?appId=talech-services&type=microservice&serviceName=gateway&env&version=1.0.1 fail, endpoint is 127.0.0.1:30100, message: Could not initialize class io.vertx.core.http.HttpHeaders
2022-08-22 10:17:43.105 WARN 18821 --- [ntloop-thread-1] o.a.s.s.c.h.ServiceRegistryClientImpl : invoke service [127.0.0.1:30100] failed, retry address [127.0.0.1:30100].
2022-08-22 10:17:43.106 ERROR 18821 --- [ntloop-thread-1] o.a.s.s.client.http.RestClientUtil : GET /v4/default/registry/existence?appId=talech-services&type=microservice&serviceName=gateway&env&version=1.0.1 fail, endpoint is 127.0.0.1:30100, message: Could not initialize class io.vertx.core.http.HttpHeaders
2022-08-22 10:17:43.106 WARN 18821 --- [ntloop-thread-1] o.a.s.s.c.h.ServiceRegistryClientImpl : invoke service [127.0.0.1:30100] failed, retry address [127.0.0.1:30100].
2022-08-22 10:17:43.106 ERROR 18821 --- [ntloop-thread-1] o.a.s.s.client.http.RestClientUtil : GET /v4/default/registry/existence?appId=talech-services&type=microservice&serviceName=gateway&env&version=1.0.1 fail, endpoint is 127.0.0.1:30100, message: Could not initialize class io.vertx.core.http.HttpHeaders
2022-08-22 10:17:43.107 INFO 18821 --- [Center Task [0]] o.a.s.s.adapter.EnvAdapterManager : Start process microservice with adapter default-env-adapter
`

Appreciate help from any one.

Thanks
Meenakshi

贡献指南

这个仓库没有索引到贡献指南

调研方向

未指定源文件或测试。首先复现 gateway 服务注册,并追踪报告的 HttpHeaders 初始化失败和依赖冲突疑点;注册成功且不出现 NoClassDefFoundError 或 NoSuchFieldError 即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
backend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。