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 :
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.
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?