Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Repository Login


Level 2

Hi All,

I am trying to login into repository using code given in tutorial : How to programmatically access the AEM JCR.

On running the main method following stack trace is shown :

AEM Forum.png

I have yet not changed any dependencies in pom.xml nor tried installing any JCP API. The port no. I am using is 4504

Thanks in advance.

1 Reply


Level 4

that article was for a standalone Java application. Are you using a Stand alone app? Did you add the JAR to the app's classpath?