snowdrop / vertx-spring-boot

Vert.x Spring Boot integration brings different Vert.x components to Spring Boot ecosystem
Apache License 2.0
137 stars 41 forks source link

Error creating bean #123

Closed vinkaga closed 2 years ago

vinkaga commented 2 years ago

I am getting the following error trying to run the application

{"cls":"org.springframework.boot.web.reactive.context.AnnotationConfigReactiveWebServerApplicationContext","lvl":"WARN","msg":"Exception encountered during context initialization - cancelling refresh attempt: 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vertxWebSocketClient' defined in class path resource [dev/snowdrop/vertx/http/client/ClientAutoConfiguration.class]: Post-processing of merged bean definition failed; 
nested exception is java.lang.IllegalStateException: Failed to introspect Class [dev.snowdrop.vertx.http.client.VertxWebSocketClient] from ClassLoader [jdk.internal.loader.ClassLoaders$AppClassLoader@2c13da15]","tid":1}

Versions are vertx-spring-boot-starter-http:1.2.0 vertx:4.2.7 spring-boot:2.5.8

Sgitario commented 2 years ago

I could not reproduce this issue, but for some reason, you are missing the vertex spring boot starter HTTP dependencies. Can you share a reproducer, so we could help better? I will close the ticket until we have more information.