Open murphye opened 3 years ago
This is a tricky one to solve. The issue seems to arise when we try to mount an arbitrary object and reflection is used to identify the available methods to expose to the eventbus.
We may need to introduce a type safe alternative to provide this mapping.
Adding this dependency solves the error.
<dependency>
<groupId>io.smallrye.reactive</groupId>
<artifactId>smallrye-mutiny-vertx-web-api-service</artifactId>
</dependency>
Soon gonna transition to the new openapi router https://vertx.io/docs/vertx-web-openapi-router/java/
Version
4.1.4
Context
In using Vert.x Web OpenAPI, there seems to be an internal reference to
io.vertx.ext.web.api.service.RouteToEBServiceHandler
. See the build error below. This forces me to use--allow-incomplete-classpath
to compile my application. See the reproducer link.There should ideally be a clean separation to allow for native building.
Do you have a reproducer?
https://github.com/murphye/vertx-web-openapi-quarkus-petstore/tree/RouteToEBServiceHandler-unresolved-graalvm
Steps to reproduce