HTTP Server Error
manish_iitg
excellencetechnologies08 at gmail.com
Sat May 23 04:19:10 EDT 2009
hello,
I just start today to work the HTTP Server Implementation of netty.
I copied the code provided in the tutorial and made the HTTP server.
The on the browser side, i created simple form, with "get" method.
Here is the form code
<form action="http://localhost:9096" method="get">
<input type="hidden" name="registration" value="yes">
<input type="hidden" name="username" value="manish">
<input type="hidden" name="password" value="manish">
<input type="submit" value="Submit ">
</form>
After form submission i am getting this error on netty:
Exception in thread "pool-13-thread-1" java.lang.NoSuchMethodError:
org.jboss.netty.handler.codec.replay.ReplayingDecoder.<init>(Ljava/lang/Enum;Z)V
at
org.jboss.netty.handler.codec.http.HttpMessageDecoder.<init>(HttpMessageDecoder.java:87)
at
org.jboss.netty.handler.codec.http.HttpMessageDecoder.<init>(HttpMessageDecoder.java:81)
at
org.jboss.netty.handler.codec.http.HttpRequestDecoder.<init>(HttpRequestDecoder.java:36)
at
com.excel.server.http.usermanager.HttpServerPipelineFactory.getPipeline(HttpServerPipelineFactory.java:22)
at
org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.run(NioServerSocketPipelineSink.java:206)
at
org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:78)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I dont understand what the problem is. Could any help me out.
--
View this message in context: http://n2.nabble.com/HTTP-Server-Error-tp2961269p2961269.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list