Unknown setting [xpack.security.user] error

instead of using the right client:

client = new PreBuiltXPackTransportClient(settings);

I using this, which cause the error:

TransportClient client = new PreBuiltTransportClient(settings)

1 Like