<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br>I have downloaded rabbitmq complete bundle and installed the server and the "broker running"<br>message
is displayed....but whenever i try to compile an example from the "java
client examples"......persay like "HelloServer.java"......i get a
compilation error....like the following<br><br>C:\>javac HelloServer.java<br>HelloServer.java:34: package com.rabbitmq.client does not exist<br>import com.rabbitmq.client.AMQP;<br> ^<br>HelloServer.java:35: package com.rabbitmq.client does not exist<br>import com.rabbitmq.client.Channel;<br>
^<br>HelloServer.java:36: package com.rabbitmq.client does not exist<br>import com.rabbitmq.client.Connection;<br> ^<br>HelloServer.java:37: package com.rabbitmq.client does not exist<br>import com.rabbitmq.client.ConnectionFactory;<br> ^<br>HelloServer.java:38: package com.rabbitmq.client does not exist<br>import com.rabbitmq.client.StringRpcServer;<br> ^<br>HelloServer.java:44: package AMQP does not exist<br> int portNumber =
(args.length > 1) ? Integer.parseInt(args[1]) : AMQ<br>P.PROTOCOL.PORT;<br><br><br>HelloServer.java:46: cannot find symbol<br>symbol : class ConnectionFactory<br>location: class com.rabbitmq.examples.HelloServer<br> ConnectionFactory connFactory = new ConnectionFactory();<br> ^<br>HelloServer.java:46: cannot find symbol<br>symbol : class ConnectionFactory<br>location: class com.rabbitmq.examples.HelloServer<br> ConnectionFactory connFactory = new
ConnectionFactory();<br> ^<br>HelloServer.java:47: cannot find symbol<br>symbol : class Connection<br>location: class com.rabbitmq.examples.HelloServer<br> Connection conn = connFactory.newConnection(hostName, portNumber);<br> ^<br>HelloServer.java:48: cannot find symbol<br>symbol : class Channel<br>location: class com.rabbitmq.examples.HelloServer<br> final Channel ch =
conn.createChannel();<br> ^<br>HelloServer.java:51: cannot find symbol<br>symbol : class StringRpcServer<br>location: class com.rabbitmq.examples.HelloServer<br> StringRpcServer server = new StringRpcServer(ch, "Hello") {<br> ^<br>HelloServer.java:51: cannot find symbol<br><br>Bascially its not able to impor the packages.....<br><br><br>Any help will be much appreciated.....<br>thanks...aniruddh</td></tr></table><br>
<!--1--><hr size=1></hr> Love Cricket? Check out live scores, photos, video highlights and more. <a href="http://in.rd.yahoo.com/tagline_cricket_2/*http://cricket.yahoo.com" target="_blank"> Click here</a>.