After I installed the Couchbase server on my Linux machine I wanted to show some date into a web browser using my own application.
I found this page which gave me the intial idea who to start. In teh Eclipse I create a new maven project based on JDK 8. All sources were added and the pom.xml updated. However the code were not able to run and I made several adjustments on it.
The connect to the DB has change with version 3 of the client. Also I add the user name to the application.properties. The pom.xml has been updated with these entries:
In addtion I deleted some lib from the .m2 couchbase directory before they get installed without error.
Now I created a runtime environment using the Application/Main class and I was able to start the Tomcat.
There are a couple of issues with the client jar of couchbase and dependencies. Also the API has been changed since the web site mention above has been created. Now the cluster is the main entitiy to query the database: