Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IntelliJ IDEA 2017.3.5 (Community Edition)
- Build #IC-173.4674.33, built on March 6, 2018
- JRE: 1.8.0_152-release-1024-b15 amd64
- JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
- Windows 10 10.0
- Version: 2017.3.15
- <dependency>
- <groupId>io.grpc</groupId>
- <artifactId>grpc-netty</artifactId>
- <version>1.7.0</version>
- </dependency>
- <dependency>
- <groupId>io.grpc</groupId>
- <artifactId>grpc-protobuf</artifactId>
- <version>1.7.0</version>
- </dependency>
- <dependency>
- <groupId>io.grpc</groupId>
- <artifactId>grpc-stub</artifactId>
- <version>1.7.0</version>
- </dependency>
- val channel = ManagedChannelBuilder
- .forAddress("...", 8088)
- .usePlaintext(true)
- .build() // <---- IntelliJ says "Error:..." here
- Error:(10, 161) value build is not a member of ?0
- val channel = ManagedChannelBuilder.forAddress("...", 8088).usePlaintext(true).build()
Add Comment
Please, Sign In to add comment