I had installed ML 9.0.3 and followed this document for setting up in my local and I edited config.properties to my requirement
# properties to configure the examples
example.admin_password=x
example.host=localhost
example.port=9963
example.authentication_type=digest
When I ran the first program in the console it is throwing error like this :
example: com.marklogic.client.example.tutorial.Example_01_CreateJSON
Exception in thread "main" java.lang.IllegalArgumentException: No user provided
at com.marklogic.client.impl.JerseyServices.connect(JerseyServices.java:186)
at com.marklogic.client.impl.JerseyServices.connect(JerseyServices.java:165)
at com.marklogic.client.DatabaseClientFactory.newClient(DatabaseClientFactory.java:156)
at com.marklogic.client.DatabaseClientFactory.newClient(DatabaseClientFactory.java:125)
at com.marklogic.client.example.tutorial.Example_01_CreateJSON.main(Example_01_CreateJSON.java:37)
How can i resolve this issue?