In my current spring-boot project, my views have this line:
to reference a static css
In my case to reference files inside css and js folders like this:
I had to place the folders in webapp folder. I have the following folder structure:
Myapp
-src
-main
-java
-resources
-static
-templates
-webapp
-resources
-WEB-INF
I mean if i had placed the css and js folders in resources folder (under main) it would have been:
If i place them in static folder (under resources) it doesn't work.