Joget Plugin Static File Paths (JS/CSS) Returning 404
Confluence User - 24 Jun, 2025
Hi everyone,
I'm currently developing a custom Joget plugin and running into trouble when trying to load JavaScript and CSS files in my Freemarker template. All the paths are returning 404 errors, and I’m not sure what I’m missing.
Here’s how I’m referencing the files inside my ColorPickerField.ftl:
<script src="${request.contextPath}/plugin/org.joget.plugin.ColorPickerField/js/jqueryLibrary.js"></script>
<script src="${request.contextPath}/plugin/org.joget.plugin.ColorPickerField/js/colourpicker.js"></script>
<link rel="stylesheet" href="${request.contextPath}/plugin/org.joget.plugin.ColorPickerField/css/colpick.css" type="text/css" />
plugins

