You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
notice that handlers accept lists of Tickets from two different packages (package1 which is imported (import package1.Ticket;) and package2).
When I try to build my project, generated file (MyServiceVertxEBProxy) have two ambiguous imports:
importpackage1.Ticket;
importpackage2.Ticket;
And of course Java cannot distinguish which Ticket to use and throws compile time error on the second import "a type with the same simple name is already defined by the single-type-import of package1.Ticket"
Of course, this is simplified example. I'm using vertx-codegen version 3.5.0.
The text was updated successfully, but these errors were encountered:
Aha, thank you. I'm sorry to hear that, this is a such useful library.
I assume the simplest solution would be to use full qualified names (e.g. with package) on every place, but I'm not fully competent.
Hi!
My EB service looks like this:
notice that handlers accept lists of
Ticket
s from two different packages (package1
which is imported (import package1.Ticket;
) andpackage2
).When I try to build my project, generated file (
MyServiceVertxEBProxy
) have two ambiguous imports:And of course Java cannot distinguish which
Ticket
to use and throws compile time error on the second import "a type with the same simple name is already defined by the single-type-import of package1.Ticket"Of course, this is simplified example. I'm using
vertx-codegen
version3.5.0
.The text was updated successfully, but these errors were encountered: