Guest User

Untitled

a guest
Apr 22nd, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. IntelliJ IDEA 2017.3.5 (Community Edition)
  2. Build #IC-173.4674.33, built on March 6, 2018
  3. JRE: 1.8.0_152-release-1024-b15 amd64
  4. JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
  5. Windows 10 10.0
  6.  
  7. Version: 2017.3.15
  8.  
  9. <dependency>
  10. <groupId>io.grpc</groupId>
  11. <artifactId>grpc-netty</artifactId>
  12. <version>1.7.0</version>
  13. </dependency>
  14. <dependency>
  15. <groupId>io.grpc</groupId>
  16. <artifactId>grpc-protobuf</artifactId>
  17. <version>1.7.0</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>io.grpc</groupId>
  21. <artifactId>grpc-stub</artifactId>
  22. <version>1.7.0</version>
  23. </dependency>
  24.  
  25. val channel = ManagedChannelBuilder
  26. .forAddress("...", 8088)
  27. .usePlaintext(true)
  28. .build() // <---- IntelliJ says "Error:..." here
  29.  
  30. Error:(10, 161) value build is not a member of ?0
  31. val channel = ManagedChannelBuilder.forAddress("...", 8088).usePlaintext(true).build()
Add Comment
Please, Sign In to add comment