404s to Static Content in Tutorial

I’m following this tutorial: https://documentation.bloomreach.com/14/trails/developer-trail/configure-out-of-the-box-features/configure-home-page.html

When I get to the step " Add the Banner Carousel to the Homepage" I click the Experience Manager at localhost:8080/cms and when I do, the site is rendered, but no styles or javascript. The browser console shows the js/css/images all failing with 404s.

If I browse the site at http://localhost:8080/site/ it works fine.

An example of a path to a file resulting in a 404 is: http://localhost:8080/site/_cmsinternal/webfiles/1589833297181/js/jquery-2.1.0.min.js

That file is referenced in base-layout.ftl with
<script src="<@hst.webfile path="/js/jquery-2.1.0.min.js"/>" type="text/javascript"></script>

If I remove _cmsinternal from that path the file loads fine (HTTP 200).

What might I be doing wrong?

1 Like