The issue is the Jackrabbit JAR. See this more advanced Java to AEM
article:
https://helpx.adobe.com/experience-manager/using/java-swing-applications.htmlNotice
the part: To successfully connect to the AEM JCR, you still have to
include the jackrabbit-standalone-2.4.3.jar (for AEM 5.5) or
jackrabbit-standalone-2.6.5.jar (for AEM 5.6, or later) into your
project's class path. You can obtain this JAR file from the Java JCR API
web page at http://jackrabbit.apache.org/jcr-api.html.Hope this helps.....