@akshaybhujbale,Are you creating maven aem project, which will be deployed to aemOr you are writing standalone java project outside aem and trying to access aem repo.If you have aem project, It is straight forward. I can give you some example code. But if you are having standard java project and mak...