Hi,
I’m using:
Lucee 5, latest stable version
Framework One
Mac OS Mojave 10.14.6
Apache Tomcat version 9.0.11
For some reason, lucee is not finding the urls to internal links and not loading my styles and javascripts.
Here is the result of the inspection:
Failed to load resource: the server responded with a status of 404 () tether.min.css:1
Failed to load resource: the server responded with a status of 404 () bootstrap.min.css:1
Failed to load resource: the server responded with a status of 404 () jquery-3.2.1.min.js:1
I have them loaded on my layout page and my structure is:
/site
/assets
/controllers
/framework
/layouts
/lib
/model
/views
/WEB-INF
Application.cfc
index.cfm
In my /layouts/layout.cfm I have:
and before the tag I have my javascriptsWell none of them are loading, and when I inspect the console I see those 404 errors.
I already tried mapping on Application.cfc like:
this.mappings[‘/assets’] = expandPath( ‘/assets’ );
this.mappings[‘/ib’] = expandPath( ‘/lib’ );
with expandPath and without it, but no juice !
Someone could help me ?
Thanks in advance.
Ricardo Parente