Skip to content

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

@shri-arunraj

Description

@shri-arunraj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions