404 errors in console for rte.min.js and widgets.min.js in AEM 6.5 after migration | Community
Skip to main content
abhishekg583959
New Participant
Apr 27, 2020 1:33 PM UTC
Solved

404 errors in console for rte.min.js and widgets.min.js in AEM 6.5 after migration

We are getting 404 errors for rte.min.js, default.min.js and widget.js after migration from AEM 6.2 to AEM 6.5. We are getting this error only in dispatcher so we tried allowing these filters in publish_filters.any file and the occurences of errors reduced but we can still see some errors related to rte.min.js and we got reference error for widgets.min.js. Attaching the screenshot for reference:

Before dispatcher changes:

After including filters in dispatcher "/libs/cq/ui/*" & "/libs/cq/searchpromote/*"

 

Can someone please give any pointers on how we can resolve this issue?

 

Thanks & Regards,

Abhishek

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kapilaAccepted solution
Employee
Apr 27, 2020 1:48 PM UTC

Hi Abhishek,

 

As initial diagnoses , could you confirm what is the js minification compiler ? I hope it is GCC. If not , please follow the below steps.

 

1- Open the "Adobe Granite HTML Library Manager" and set the JS processor configuration to "min:gcc;" to use Google Closure compiler.
2- Open the URL "http://localhost:45010/libs/granite/ui/content/dumplibs.rebuild.html".
3- Click on "Invalidate Cache".
4- Click "Rebuild libraries".

3 replies

New Participant
May 7, 2020 7:28 PM UTC
We are seeing a very similar problem. Did you ever find a resolution?
Translate
kapilaAccepted solution
Employee
Apr 27, 2020 1:48 PM UTC

Hi Abhishek,

 

As initial diagnoses , could you confirm what is the js minification compiler ? I hope it is GCC. If not , please follow the below steps.

 

1- Open the "Adobe Granite HTML Library Manager" and set the JS processor configuration to "min:gcc;" to use Google Closure compiler.
2- Open the URL "http://localhost:45010/libs/granite/ui/content/dumplibs.rebuild.html".
3- Click on "Invalidate Cache".
4- Click "Rebuild libraries".

Translate
abhishekg583959
New Participant
Apr 28, 2020 7:49 AM UTC
Hi Tanya, Thanks for the heads up but we are already using GCC js minification compiler.
Translate