我想使用Talend将数据从MySQL移动到Couchbase服务器。我有一个Couchbase的新安装,门户网站有用户名Administrator和密码管理员。我还在数据库中安装了Xampp数据。
使用Talend,我已经设置了MySql连接,设置了凭据和架构并映射了JSON。对于couchbase,这是我设置的
但是当我运行这个工作时,我收到了这个错误:
WARN com.couchbase.client.vbucket.ConfigurationProviderHTTP: Connection
problems with URI http://127.0.0.1:8091/pools ...skipping
java.io.IOException: Server returned HTTP response code: 401 for URL: http://127.0.0.1:8091/pools
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readToString(ConfigurationProviderHTTP.java:344)
at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readPools(ConfigurationProviderHTTP.java:144)
at com.couchbase.client.vbucket.ConfigurationProviderHTTP.getBucketConfiguration(ConfigurationProviderHTTP.java:126)
at com.couchbase.client.CouchbaseConnectionFactory.getVBucketConfig(CouchbaseConnectionFactory.java:233)
at com.couchbase.client.CouchbaseClient.<init>(CouchbaseClient.java:256)
at com.couchbase.client.CouchbaseClient.<init>(CouchbaseClient.java:222)
at local_project.couchbasedummy_0_1.couchbasedummy.tCouchbaseOutput_1_MidProcess(couchbasedummy.java:1420)
at local_project.couchbasedummy_0_1.couchbasedummy$1ThreadXMLField_tCouchbaseOutput_1_In.run(couchbasedummy.java:619)
Exception in component tCouchbaseOutput_1_Out (couchbasedummy)
java.lang.NullPointerException
.....
.....
可能是什么问题?