Has any body ever faced the issue of 404 page rendered broken and throwing error Jquery or $ not found

mchag

03-12-2019

Issue Description :

The issue occurring when sling redirecting the user to 404 error page. The redirection is properly happening to custom 404 error page, but the page is broken completely (i.e css and java scripts not loaded) the in the console it is throwing error Uncaught ReferenceError: jQuery is not defined.

Please let me know if anybody has come across this kind of issue or what probably can cause this  kind of issue in AEM.

Accepted Solutions (1)

Accepted Solutions (1)

PuzanovsP

MVP

03-12-2019

Dear Mchag,

Looks like there is a problem including your clientlibs for this particular template.

Have a look at the templates that get invoked when you call 404 page and make sure it has correct and valid clientlibs included.

Regards,

Peter

Answers (1)

Answers (1)