Fix bug in codes of configuring geoserver client.