Im developing a color picker plugin and got it added in the app. However i cant make the plug in works as there is a problem with the ftl file(i think). Heres the error i got from the dev console.
` GET http://localhost:8080/jw/plugin/sample/cs/colpick.css net::ERR_ABORTED 404 (Not Found)
GET http://localhost:8080/jw/plugin/sample/js/colourpicker.js net::ERR_ABORTED 404 (Not Found)
GET http://localhost:8080/jw/plugin/sample/js/jqueryLibrary.js net::ERR_ABORTED 404 (Not Found)
Query.Deferred exception: $(...).colorPick is not a function TypeError: $(...).colorPick is not a function
TypeError: $(...).colorPick is not a function
at HTMLDocument.<anonymous> (preview/:185:22)
at e (common.preload.js?build=cab4c77:2:30005)
at t (common.preload.js?build=cab4c77:2:30307)`
The error happens when my path looks like this.
<script type="text/javascript"
src=”${request.contextPath}/plugin/sample/js/jqueryLibrary.js”>`
i tried not using request.contextPath to this but it still does not work
<script type="text/javascript" src="/jw/plugin/sample/js/jqueryLibrary.js"></script>
i also tried to run this line in my browser search bar but the error is 404
http://localhost:8080/jw/plugin/sample/js/jqueryLibrary.js
let me know if i should paste my ftl file or any other file that might be related. please help me resolve this problem as it has been haunting me for a week.