Created
October 11, 2012 23:52
-
-
Save fbettag/3876463 to your computer and use it in GitHub Desktop.
weird netty issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [error] Server.scala:55: type mismatch; | |
| [error] found : io.netty.channel.ChannelOption[java.lang.Boolean] | |
| [error] required: io.netty.channel.ChannelOption[Any] | |
| [error] Note: java.lang.Boolean <: Any, but Java-defined class ChannelOption is invariant in type T.[error] You may wish to investigate a wildcard type such as `_ <: Any`. (SLS 3.2.10) | |
| [error] .childOption(ChannelOption.TCP_NODELAY, true) | |
| [error] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can solve it by: