Riak Java Client: PBClientConfig.Builder is not a value

Ari King ari.brandeis.king at gmail.com
Mon Oct 28 13:53:28 EDT 2013


I'm following the java client
wiki<https://github.com/basho/riak-java-client/wiki/ClientFactory>(using
Riak Java Client 1.4.2) to create a client from PBClientConfig.
However, I'm consistently getting the following error: object
com.basho.riak.client.raw.pbc.PBClientConfig.Builder is not a value

Does anyone know how to resolve this?

Below is a snippet of the code:

 PBClientConfig pbcc = PBClientConfig.Builder().withHost("127.0.0.1").build();
 IRiakClient myPbClient = RiakFactory.newClient(pbcc);

Thanks.

-Ari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20131028/fbc894b1/attachment.html>


More information about the riak-users mailing list