I am using this example as a guide: https://helpx.adobe.com/nz/experience-manager/6-4/sites/developing/using/access-jcr.html
I attach my code:
This is the pom.xml in "/myProject/core":
I'm doing tests with Postman:
And this message appears in the server log:
I would greatly appreciate your help. Greetings.
If you want to modify the JCR (for example - add a node, add a property, etc) from an external Java app - you can follow this article. Make sure that you include the correct Jackrabbit JAR file in your classpath (discussed in the article) .
If you want to learn how to build WEB SITES in AEM - follow this:
PS - the code you are showing in your thread is not referenced in the article you said you are following.