Closed UkonnRa closed 5 years ago
What's more, I found some fatal weak points:
Single<T> something(P param);
, which is a disaster for the users who want to construct a pure Rx project;The module name is conflict between vertx-service-proxy
and vertx-codegen
vertx-server-porxy
cannot deal with hierarchy Services with generics.
For Rx you must write the service interface in plain java with handlers and then import
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-rx-java2</artifactId>
<version>3.7.0</version>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-rx-java2-gen</artifactId>
<version>3.7.0</version>
</dependency>
This will generate the RXified version For the imports (3.6+), you must import vertx-codegen as processor and vertx-service-proxy, like described in the docs: https://vertx.io/docs/vertx-service-proxy/java/#_using_vert_x_service_proxies
Let me know if you need something else
Hi! While compiling my Vertx project using
vertx-service-proxy
, I found I get an confusing error:Annotation processor 'io.vertx.codegen.CodeGenProcessor' not found
Here is the pom.xml (Or you can get the whole project here: https://github.com/CasterKKK/CasterMovieVertx if you want):
Show one of the Service:
And when using
mvn package -X -f pom.xml
, get an error:What's more, I found when I use
and
together, my
module-info.java
will get aModule xxx reads package 'io.vertx.codegen' from both 'vertx.codegen' and 'vertx.codegen'
&Ambiguous module reference: vertx.codege
error... What that mean?