apache / apache/servicecomb-java-chassis

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

Đang mở
#3,292 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
1.9k
Fork
814
Merge trung bình
8 ngày 23 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Không có tệp mã nguồn hoặc bài kiểm thử nào được nêu. Hãy bắt đầu bằng cách tái hiện việc đăng ký dịch vụ gateway và lần theo lỗi khởi tạo HttpHeaders đã được báo cáo cùng nghi vấn xung đột dependency; hoàn thành khi việc đăng ký thành công mà không có NoClassDefFoundError hoặc NoSuchFieldError.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
backend
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.