-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LoadBalancer2.Factory ClassNotFoundException #7
Comments
we have upgraded the master version to the latest gRPC version.
So we provide nothing more and nothing less than what the original API provides. |
Yep. I saw that on master it was correct. I'm now including a gradle dependency like: Is it released or should I manually build and include the jar? |
the current 3.4.2 release is staging here : https://oss.sonatype.org/content/repositories/iovertx-3685/ you can follow on vertx-dev the release if you like |
Almost there! If I include the vertx-grpc from that maven repo, my add does not startup anymore, as it complains about Netty and Dropmetrics when creating my redis client.- I guess some interface have changed. If I manually include the vertx-grpc-3-42-jar file in my app , I get the following error on the server:
Upgrading all the app to use 3.4.2 from that staging repo, also makes the startup to fail. Any clue? |
BTW, I tried with gRPC 1.1.2 and 1.3.0 and I get the same error (different lines in jetty files, but kind of the same error) Thanks |
So, after tons of testings, I think I found the issue. If I deploy the verticle that contains the server as a normal verticle, using However, if I deploy the verticle as a service Should we pass this to the vertx-service subproject? |
could you write a reproducer and link it to this issue for now ? |
Find attached an example with 2 launcher, as service and not as service. |
can you try with the latest 3.5.1 SNAPSHOT ? |
Looks it still does not work if deployed as a service.
|
Works fine if deployed the 'normal' way. |
Hi,
I'm using version 3.4.1 and it is failing to make calls, because it cannot find the class
LoadBalancer2.Factory
, when creating aVertxChannelBuilder
Looking to latest code, looks that in master branch we no longer have the method
loadBalancerFactory
with that signature( that accepts thatLoadBalancer2.Factory
)Is this a bug ? or am I missing any library in my project?
Kind regards
The text was updated successfully, but these errors were encountered: