Issue
I am trying to add an external CSS file in a maven project that I am building in IntelliJ, but seemingly it doesn't work. Please help, what could I be missing out on? Please note that when I use the styling internally it works fine (but I want to use other assets in my project). I have included an image of the project structure below.
Solution
CSS files are web resources it should be present in src\main\webapp
or src\main\resources\META-INF\resources
folder.
So, move your css
folder to src\main\webapp
then your CSS will work
Answered By - Karthikeyan Vaithilingam
Answer Checked By - Gilberto Lyons (JavaFixing Admin)