I have installed JDK 8.191 hoping to solve this problem
Getting Ajax Error (Enabling CORS)
but I recognize AEM still runs on Java 8.181.
how can I change the config?
THANKS!
Views
Replies
Total Likes
If you use AEM version of JQuery - it has a token that takes care of CORS issues. Create a clientlib and then add dependencies property with value of cq.jquery.
Views
Replies
Total Likes
Views
Replies
Total Likes
Ok will do. Will mark this correct if I get it successfully done.
Thanks for fast reply!
Views
Replies
Total Likes
Still getting the AJAX error. Can't even get to save a Sharing Policy which is the first step to generate a new Policy. I'm assuming it's the jdk version? we're using JDK 8u181. we have installed JDK 8u191 but AEM still uses the old JDK version. how can we let it use the updated version?
THANKS!
Views
Replies
Total Likes
OpenJDK is not supported, look here what is exactly supported: Technical Requirements
Views
Replies
Total Likes
Thanks for the reply!
Yes seen that. That's why I upgraded only to JDK 8u191.
but if so, do you propose any other fix to the AJAX error I'm getting when saving a CORS Sharing Policy?
Views
Replies
Total Likes