Search code examples
javascriptjqueryspringspring-roo

Spring roo - including jQuery


I have added jQuery link to load-scripts.tagx as following.

<script src="custom/js/jquery-1.10.2.min.js" type="text/javascript"></script>

It compiles fine and page loads fine, when i check the generated source it is as following in the generated html, which is perfectly fine.

<script type="text/javascript" src="custom/js/jquery-1.10.2.min.js"/>

This loads the js as expected, but my only concerned is that it is trying to load jquery-1.10.2.min.map and this fails since there is no such file. I want to figure-out why this is happening.


Solution

  • Add this map file in your project

    http://code.jquery.com/jquery-1.10.2.min.map