Riak Java Client Error

Muhammad Yousaf muhammad.yousaf at live.com
Wed Mar 30 15:09:16 EDT 2011

Hi Russel ,Thanks a lot for your help that was soo helpful. But unfortunately i got another error on creating object of riak object on following codeimport com.basho.riak.client.RiakClient;import com.basho.riak.client.RiakObject;import com.basho.riak.client.response.FetchResponse;public class RiakTest {    public static void main(String[] args) {        // connect        RiakClient riak = new RiakClient("http://localhost:8098/riak");        // create object        RiakObject o = new RiakObject("mybucket", "mykey", "myvalue");        // store        riak.store(o);      }}Exception in thread "main" java.lang.Error: Unresolved compilation problem: 	The constructor RiakObject(String, String, String) is undefinedany idea how can i solve this ?thanks Regards,
Muhammad Yousaf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110331/edf3ab5b/attachment.html>

More information about the riak-users mailing list