Hi I want to explore on the gRPC plugin with maven...
# pact-plugins
s
Hi I want to explore on the gRPC plugin with maven example, so i installed the protobuf plugin and now im trying to run consumer test its failing with below reason. Can someone help me what i am missing here
Copy code
<<< FAILURE! - in io.pact.example.grpc.maven.PactConsumerTest
calculateRectangleArea{MockServer, SynchronousMessages}  Time elapsed: 1.542 s  <<< ERROR!
kotlin.UninitializedPropertyAccessException: lateinit property process has not been initialized
	at io.pact.example.grpc.maven.PactConsumerTest.calculateRectangleArea(PactConsumerTest.java:45)
u
lateinit property process has not been initialized
means there is a property that has to be initialized before the object can be used. What do you have at
PactConsumerTest.java:45
?
s
which plugin to use
Copy code
.usingPlugin("protobuf","0.2.1")
u
Hmm, try plugin version "0.2.2" as "0.2.1" is not good.
🙌 1
s
yeah this one worked