instead of including script like above as it's not the correct way of including js files , could you try something like below in your jsp file-<ui:includeClientLib categories="cq.jquery"/> The category will be your clientlib folder.For more details refer below-Using Client-Side Libraries