Expand my Community achievements bar.

SOLVED

$CQ is not defined in <div class="target parbase"> after update AEM 6.3-6.5

Avatar

Level 4

Hello, Adobe Community

 

We're in the process of migration AEM from 6.3 to 6.5. We've made first steps and now we have the problem with loading pages which have target areas:

arturl43391132_0-1587645443572.png

And the error is: Uncaught ReferenceError: $CQ is not defined.

 

Could you please suggest what's the problem can be?

 

Thanks.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

This issue was reported to the AEM engineering team. 

The solution provided was to add cq.shared dependency on "/etc/clientlibs/foundation/main".

 

Check if this helps. Also I would suggest you to  recompile all JSPs, invalidate Cache and rebuild the clientlibs.

View solution in original post

4 Replies

Avatar

Correct answer by
Employee

This issue was reported to the AEM engineering team. 

The solution provided was to add cq.shared dependency on "/etc/clientlibs/foundation/main".

 

Check if this helps. Also I would suggest you to  recompile all JSPs, invalidate Cache and rebuild the clientlibs.

Avatar

Level 4

Hi, @shreyag72517995
Thank you very much. We added this dependency to some other targeting clientlib, dropped cache and it helped.

Avatar

Level 2

I tried the solution above, but can't find /etc/clientlibs/foundation.

Also, can you provide information on what property name/value has to be added for the dependency, and how to recompile the JSPs/Invalidate Cache/Rebuild clientlibs if possible?