package not found.
Closed this issue · 3 comments
sp1rs commented
Suddenly I am getting this error
wiremock_1 | Task ':generateJava' is not up-to-date because:
wiremock_1 | No history is available.
wiremock_1 | Found :generateJava:
wiremock_1 | Parsed package = [grpc.health.v1] and service = [Health]
wiremock_1 | Found :generateJava:
.
.
.
wiremock_1 | Compiling with JDK Java compiler API.
wiremock_1 | /usr/src/java-code/src/main/java/io/adven/grpc/wiremock/Translator.java:12: error: package grpc.health.v1 does not exist
wiremock_1 | import grpc.health.v1.HealthGrpc;
Did any new change went live?
Adven27 commented
Nope. Instruction from README still works.
Please provide a nonworking example.
sp1rs commented
@Adven27
I am getting this error if I have a different package but the same service name.
wiremock_1 | Parsed package = [supplier_x.supplier.v2] and service = [SupplierService]
wiremock_1 | Found :generateJava:
wiremock_1 | Parsed package = [supplier_x.v1.productpb] and service = [ProductService]
wiremock_1 | Found :generateJava:
wiremock_1 | Parsed package = [supplier_x.v1.supplierpb] and service = [SupplierService]
wiremock_1 | Found :generateJava:
If I changed the service name of one of the packages from SupplierService
to SupplierService2
it works.