Open haiminh87 opened 5 years ago
I’ve seen something similar before, can you rerun the installDist command then relaunch the two processes.
I just tested from a clean install and it seems to be working.
I'm also experiencing this with fresh builds on two platforms (MacOS and Ubuntu). My Java versions are 1.8.0_151 (MacOS) and 1.8.0_222 (Ubuntu).
I'm currently running into the same issue when ./gradlew openIdea
, starting both servers for helloworld and executing the graphql query
yup, me too on jdk1.8.0_152, 9+181 osx all examples
Same here. java version "1.8.0_152" macOS 10.14.6 with gradle example
Some more details on the issue. The error happens on this line
return method.invoke(module, methodParameterValues);
if I try to call the sayHello method directly
((HelloWorldSchemaModule) module).sayHello(methodParameterValues[0], methodParameterValues[1])
I get
Type mismatch Can't assign com.google.inject.spi.ProviderLookup$1 to io.grpc.examples.helloworld.GreeterGrpc$GreeterBlockingStub
Any help would be appreciated.
I switched the version of rejoiner in the gradle examples to 0.4.0-SNAPSHOT which seems to have fixed the issue.
In general these examples need to be updated. I'd like to move them to use maven like the rest of the code.
@siderakis thanks a bunch. This fixed the issue. The example is working for me now.
I cloned master and follow the instruction here https://rejoiner.io/docs/examples.html But got this error